Actions
Bug #10734
closedtmpfs: NULL pointer errors
Start date:
2019-04-11
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/tmpfs/tmp_vfsops.c:27: ../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion] #define NULL ((void *)0) ^ ../../common/fs/tmpfs/tmp_vfsops.c:93:42: note: in expansion of macro 'NULL' { MNTOPT_NOXATTR, noxattr_cancel, NULL, NULL, NULL}, ^~~~ ../../common/sys/null.h:32:14: note: (near initialization for 'tmpfs_options[1].mo_flags') #define NULL ((void *)0) ^ ../../common/fs/tmpfs/tmp_vfsops.c:93:42: note: in expansion of macro 'NULL' { MNTOPT_NOXATTR, noxattr_cancel, NULL, 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 30df210350904179c6f4c809c371bbb1319e3b6c
commit 30df210350904179c6f4c809c371bbb1319e3b6c Author: Toomas Soome <tsoome@me.com> Date: 2019-04-19T21:02:28.000Z 10734 tmpfs: NULL pointer errors Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions