Project

General

Profile

Actions

Bug #12578

closed

pcf8574: 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/pcf8574.c: In function 'pcf8574_ioctl':
    ../../sun4u/io/i2c/clients/pcf8574.c:297: error: comparison between pointer and integer
    ../../sun4u/io/i2c/clients/pcf8574.c: In function 'pcf8574_do_attach':
    ../../sun4u/io/i2c/clients/pcf8574.c:512: 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 *'

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 52e32d3842d8ce38bd888b33fb2e2998eab03619

commit  52e32d3842d8ce38bd888b33fb2e2998eab03619
Author: Toomas Soome <tsoome@me.com>
Date:   2020-04-27T17:28:42.000Z

    12578 pcf8574: NULL pointer errors
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF