Project

General

Profile

Actions

Bug #10780

closed

scsi: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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

Actions

Also available in: Atom PDF