summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libiscsi.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-03-30 16:25:21 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2016-04-11 16:57:09 -0400
commit5cfe8d5b4c6f359a23738bbdc54a6007c6d6bdb1 (patch)
treeda57947104a99bed60051252fde92907852c6bf0 /drivers/scsi/libiscsi.c
parent62055172fbcd6055a10b010c6be65088fd7046b3 (diff)
downloadop-kernel-dev-5cfe8d5b4c6f359a23738bbdc54a6007c6d6bdb1.zip
op-kernel-dev-5cfe8d5b4c6f359a23738bbdc54a6007c6d6bdb1.tar.gz
qla2xxx: Indicate out-of-memory with -ENOMEM
In the Linux kernel it is preferred to return a meaningful error code instead of -1. This patch does not change the behavior of the caller of qla82xx_pinit_from_rom(). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Quinn Tran <quinn.tran@qlogic.com> Cc: Himanshu Madhani <himanshu.madhani@qlogic.com> Cc: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Acked-by: Quinn Tran <quinn.tran@qlogic.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud