ltc1427: NULL pointer errors
driver - device drivers
Build errors with NULL pointer:
../../sun4u/io/i2c/clients/ltc1427.c: In function 'ltc1427_ioctl': ../../sun4u/io/i2c/clients/ltc1427.c:231: error: comparison between pointer and integer ../../sun4u/io/i2c/clients/ltc1427.c: In function 'ltc1427_do_attach': ../../sun4u/io/i2c/clients/ltc1427.c:361: 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 cycle.
Updated by Electric Monk almost 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 1bc19844f9d6f3eb43c88648a6862df9de480213 Author: Toomas Soome <email@example.com> Date: 2020-06-03T20:50:37.000Z 12575 ltc1427: NULL pointer errors Reviewed by: C Fraire <firstname.lastname@example.org> Reviewed by: Sebastian Wiedenroth <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>