10780 scsi: NULL pointer errors

Review Request #1745 — Created April 14, 2019 and submitted

tsoome
illumos-gate
10780
b0a33b5...
general
../../common/io/scsi/impl/scsi_subr.c: In function 'scsi_generic_errmsg':
../../common/io/scsi/impl/scsi_subr.c:1189:15: error: comparison between pointer and integer [-Werror]
    if (buf[0] != NULL) {
               ^~

../../common/io/scsi/impl/scsi_hba.c: In function 'scsi_device_config':
../../common/io/scsi/impl/scsi_hba.c:6548:12: error: comparison between pointer and integer [-Werror]
       ((pi == NULL) && ndi_devi_device_isremoved(child))) {
            ^~
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...