linux/drivers/scsi/be2iscsi
Christophe JAILLET deeea8edc7 scsi: be2iscsi: Fix error return code
We know that 'ret' is not an error code because it has been tested a few
lines above.  So, if one of these function fails, 0 will be returned
instead of an error code.  Return -ENOMEM instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

'ret' needs to be set with error code if hba_setup_cid_tbls fails.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-08-30 22:24:40 -04:00
..
be_cmds.c scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_cmds.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_iscsi.c scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_iscsi.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_main.c scsi: be2iscsi: Fix error return code 2016-08-30 22:24:40 -04:00
be_main.h scsi: be2iscsi: Update the driver version 2016-08-23 22:42:45 -04:00
be_mgmt.c scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_mgmt.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00