Project

General

Profile

Bug #10780

scsi: NULL pointer errors

Added by Toomas Soome 4 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-14
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

../../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

Also available in: Atom PDF