Project

General

Profile

Actions

Bug #12576

closed

pcf8591: 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 with NULL pointer:

    ../../sun4u/io/i2c/clients/pcf8591.c: In function 'pcf8591_ioctl':
    ../../sun4u/io/i2c/clients/pcf8591.c:239: error: comparison between pointer and integer
    ../../sun4u/io/i2c/clients/pcf8591.c: In function 'pcf8591_do_attach':
    ../../sun4u/io/i2c/clients/pcf8591.c:488: error: passing argument 6 of 'ddi_create_minor_node' makes integer from pointer without a cast
    ../../common/sys/sunddi.h:1571: note: expected 'int' but argument is of type 'void *'

Testing done: build/install/boot


Related issues

Related to illumos gate - Bug #12814: CCVERBOSE flag in CFLAGS is redundant and not neededIn Progress

Actions
Actions

Also available in: Atom PDF