10737 procfs: NULL pointer errors

Review Request #1703 - Created April 11, 2019 and submitted

Information
Toomas Soome
illumos-gate
10737
aa4690c...
Reviewers
general
In file included from ../../common/sys/param.h:48:0,
                 from ../../common/fs/proc/prvfsops.c:30:
../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../../common/fs/proc/prvfsops.c:64:2: note: in expansion of macro 'NULL'
  NULL,
  ^~~~
../../common/sys/null.h:32:14: note: (near initialization for 'proc_mntopts.mo_count')
 #define NULL ((void *)0)
              ^
../../common/fs/proc/prvfsops.c:64:2: note: in expansion of macro 'NULL'
  NULL,
  ^~~~

../../common/fs/proc/prioctl.c: In function 'prioctl32':
../../common/fs/proc/prioctl.c:1867:12: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    un32.va = NULL;
            ^
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
John Levon
Toomas Soome
Toomas Soome
John Levon
Robert Mustacchi
Toomas Soome
John Levon
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...