10750 s1394: NULL pointer errors

Review Request #1716 - Created April 12, 2019 and submitted

Information
Toomas Soome
illumos-gate
10750
ca9b117...
Reviewers
general
../../common/io/1394/s1394_hotplug.c: In function 's1394_devi_find':
../../common/io/1394/s1394_hotplug.c:447:17: error: comparison between pointer and integer [-Werror]
   if (regptr[2] != NULL || regptr[3] != NULL) {
                 ^~
../../common/io/1394/s1394_hotplug.c:447:38: error: comparison between pointer and integer [-Werror]
   if (regptr[2] != NULL || regptr[3] != NULL) {
                                      ^~
cc1: all warnings being treated as errors

  
Andrew Stormont
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...