10733 specfs: NULL pointer errors

Review Request #1699 — Created April 11, 2019 and submitted

tsoome
illumos-gate
10733
2fdeadc...
general
../../common/fs/specfs/specsubr.c: In function 'specvp':
../../common/fs/specfs/specsubr.c:161:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   sp->s_nextr = NULL;
               ^
../../common/fs/specfs/specsubr.c: In function 'makespecvp':
../../common/fs/specfs/specsubr.c:239:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  sp->s_nextr = NULL;
              ^
../../common/fs/specfs/specsubr.c: In function 'get_cvp':
../../common/fs/specfs/specsubr.c:556:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   sp->s_nextr = NULL;
               ^
../../common/fs/specfs/specsubr.c: In function 'commonvp':
../../common/fs/specfs/specsubr.c:602:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   sp->s_nextr = NULL;
               ^
cc1: all warnings being treated as errors


rejohnst
  1. Ship It!
  2. 
      
wiedi
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...