10713 fp: NULL pointer errors

Review Request #1679 — Created April 10, 2019 and submitted

tsoome
illumos-gate
10713
a44bf63...
general
../../common/io/fibre-channel/impl/fp.c: In function 'fp_unsol_cb':
../../common/io/fibre-channel/impl/fp.c:10905:56: error: pointer/integer type mismatch in conditional expression [-Werror]
  cb_arg = (rscn_count == FC_INVALID_RSCN_COUNT) ? NULL : rscn_count;
                                                        ^
../../common/io/fibre-channel/impl/fp.c:10905:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  cb_arg = (rscn_count == FC_INVALID_RSCN_COUNT) ? NULL : rscn_count;
         ^
cc1: all warnings being treated as errors


rm
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...