summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-04-13 13:14:41 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-05-10 04:18:42 +0200
commit4e51af9ee7afa0ecf4829e7a44f7055db7968e02 (patch)
tree4854217bf3a1b824d399753b984b50eddc04e372 /drivers/scsi/scsi_debug.c
parentmegaraid_sas: Downgrade two success messages to info (diff)
downloadlinux-4e51af9ee7afa0ecf4829e7a44f7055db7968e02.tar.xz
linux-4e51af9ee7afa0ecf4829e7a44f7055db7968e02.zip
bfa: fix bfa_fcb_itnim_alloc() error handling
The caller assumes that "itnim" is NULL on error and non-NULL on success but really "itnim" is uninitialized on error. This function should just use normal error handling where it returns zero on success and negative on failure. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions