Bug #11118
libhotplug: NULL pointer errors
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
NULL pointer errors:
../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
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit ae7ff7d6ac239648a2579a0de5a0a1be3d4e10e6
commit ae7ff7d6ac239648a2579a0de5a0a1be3d4e10e6 Author: Toomas Soome <tsoome@me.com> Date: 2019-06-18T18:53:54.000Z 11118 libhotplug: NULL pointer errors Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>