Project

General

Profile

Actions

Bug #12600

closed

ssc100: 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:

    ../../sun4u/io/i2c/clients/ssc100.c: In function 'ssc100_ioctl':
    ../../sun4u/io/i2c/clients/ssc100.c:309: error: comparison between pointer and integer
    ../../sun4u/io/i2c/clients/ssc100.c: In function 'ssc100_do_attach':
    ../../sun4u/io/i2c/clients/ssc100.c:532: 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 b10a7a5c84767eaa0c2fd6cda5f456fccd17aaff

commit  b10a7a5c84767eaa0c2fd6cda5f456fccd17aaff
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-09T15:34:45.000Z

    12600 ssc100: NULL pointer errors
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF