OpenCloudOS-Kernel/drivers/scsi/bnx2fc
Dan Carpenter 2043e1fd09 bnx2fc: fix an error code in _bnx2fc_create()
We should be returning an error code here instead of success.  Either
-ENODEV or -ENOMEM would work.  There is also a failure message in
printk().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-11-12 12:05:25 +01:00
..
57xx_hsi_bnx2fc.h bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00
Kconfig scsi: Use 'depends' with LIBFC instead of 'select'. 2014-09-22 13:14:33 -04:00
Makefile [SCSI] bnx2fc: Reduce object size by consolidating formats 2012-07-20 08:58:17 +01:00
bnx2fc.h bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00
bnx2fc_constants.h bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00
bnx2fc_debug.c bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00
bnx2fc_debug.h bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00
bnx2fc_els.c bnx2fc: fix tgt spinlock locking 2014-11-10 15:25:41 +01:00
bnx2fc_fcoe.c bnx2fc: fix an error code in _bnx2fc_create() 2014-11-12 12:05:25 +01:00
bnx2fc_hwi.c bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00
bnx2fc_io.c scsi: remove abuses of scsi_populate_tag 2014-11-12 11:19:41 +01:00
bnx2fc_tgt.c bnx2fc: Rebranding bnx2fc driver 2014-07-25 17:16:59 -04:00