Re: [patch 2/2] bnx2fc: fix an error code in _bnx2fc_create()

2014-11-05 Thread Chad Dupuis
Looks ok. Acked-by: Chad Dupuis On Tue, 4 Nov 2014, Dan Carpenter wrote: 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 diff --git a/drivers/scsi/bnx2fc/bnx2fc_fc

[patch 2/2] bnx2fc: fix an error code in _bnx2fc_create()

2014-11-04 Thread Dan Carpenter
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 diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index dfed4be..251b114 100644 --- a/