From: Anil Veerabhadrappa Date: Tue, 23 Jun 2009 21:04:23 +0000 (-0700) Subject: [SCSI] bnx2i: bug fixes in bnx2i_init_one to handle error conditions X-Git-Tag: v2.6.32-rc1~689^2~204 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e85f15166a6a9da8317ddb8600b604b27e58aa3;p=pandora-kernel.git [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 Signed-off-by: Anil Veerabhadrappa Reviewed-by: Mike Christie Signed-off-by: James Bottomley Signed-off-by: James Bottomley --- Reading git-diff-tree failed