diff options
author | Anil Veerabhadrappa <anilgv@broadcom.com> | 2009-06-23 14:04:23 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 17:51:52 -0500 |
commit | 4e85f15166a6a9da8317ddb8600b604b27e58aa3 (patch) | |
tree | 9cfdf0039631a1cd8d4c4e95d99f9148dc955a22 /drivers/scsi/megaraid.c | |
parent | 1ed0f6a3ef94996341f3c5a2d4034ba1a2532b0a (diff) |
[SCSI] bnx2i: bug fixes in bnx2i_init_one to handle error conditions
Fixed bnx2i_init_one() to properly handle return code of
cnic->register_device() and propagate it back to the caller. No need to check
for BNX2I_CNIC_REGISTERED, because unless the adapter is added to adapter_list
it will not be registered in ep_connect context
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Anil Veerabhadrappa <anilgv@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/megaraid.c')
0 files changed, 0 insertions, 0 deletions