Bug #12576
Updated by Toomas Soome about 2 years ago
Build errors with NULL pointer:
<pre>
../../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 *'
</pre>
Testing done: build/install/boot