Project

General

Profile

Actions

Bug #12614

closed

todds1287: NULL pointer errors

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors on SPARC with NULL pointer:

    cc1: warnings being treated as errors
    ../../sun4u/io/todds1287.c: In function 'ds1287_attach':
    ../../sun4u/io/todds1287.c:357: error: passing argument 6 of 'ddi_create_minor_node' makes integer from pointer without a cast
    ../../common/sys/sunddi.h:1577: note: expected 'int' but argument is of type 'void *'

Actions #1

Updated by Electric Monk about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 47a041a028740925012faeaf8aa122cb53545a4a

commit  47a041a028740925012faeaf8aa122cb53545a4a
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-10T07:49:45.000Z

    12614 todds1287: NULL pointer errors
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Yuri Pankov <ypankov@fastmail.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF