Actions
Bug #10739
closednamefs: NULL pointer errors
Start date:
2019-04-12
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
NULL pointer errors:
In file included from ../../common/sys/param.h:48:0, from ../../common/fs/namefs/namevfs.c:35: ../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion] #define NULL ((void *)0) ^ ../../common/fs/namefs/namevfs.c:727:2: note: in expansion of macro 'NULL' NULL, ^~~~ ../../common/sys/null.h:32:14: note: (near initialization for 'nm_mntopts.mo_count') #define NULL ((void *)0) ^ ../../common/fs/namefs/namevfs.c:727:2: note: in expansion of macro 'NULL' NULL, ^~~~ cc1: all warnings being treated as errors
Updated by Electric Monk about 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit c691c733a0821d03d0c0cf6d97e09749e20f190a
commit c691c733a0821d03d0c0cf6d97e09749e20f190a Author: Toomas Soome <tsoome@me.com> Date: 2019-04-18T05:37:25.000Z 10739 namefs: NULL pointer errors Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Approved by: Dan McDonald <danmcd@joyent.com>
Actions