11118 libhotplug: NULL pointer errors

Review Request #1903 - Created June 1, 2019 and submitted

Information
Toomas Soome
illumos-gate
11118
6b3dcc0...
Reviewers
general
../common/libhotplug.c: In function 'hp_last_change':
../common/libhotplug.c:348:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
   return (NULL);
          ^
../common/libhotplug.c:355:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
   return (NULL);
          ^
../common/libhotplug.c: In function 'hp_unpack':
../common/libhotplug.c:797:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
   return (NULL);
          ^
cc1: all warnings being treated as errors

  
Peter Tribble
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...