aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2010-01-22 19:07:40 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-08 19:34:15 -0500
commitf55a24f2c24b63f8b4329eb28b4aec02a4bcf5d0 (patch)
tree83794a20c7bcb0c59221f796b3e41b7158bc9f5c /drivers/scsi/be2iscsi
parent5dc1c416b39531e3bcf0651ca4123e64228dd553 (diff)
[SCSI] be2iscsi: correcting the return
This patch fixes an issue where return was not called properly. Thanks to Mike Christie for spotting this Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r--drivers/scsi/be2iscsi/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 2f0027c5605c..6b700ad2bb47 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -3873,7 +3873,7 @@ static int __init beiscsi_module_init(void)
3873 SE_DEBUG(DBG_LVL_1, 3873 SE_DEBUG(DBG_LVL_1,
3874 "beiscsi_module_init - Unable to register beiscsi" 3874 "beiscsi_module_init - Unable to register beiscsi"
3875 "transport.\n"); 3875 "transport.\n");
3876 ret = -ENOMEM; 3876 return -ENOMEM;
3877 } 3877 }
3878 SE_DEBUG(DBG_LVL_8, "In beiscsi_module_init, tt=%p \n", 3878 SE_DEBUG(DBG_LVL_8, "In beiscsi_module_init, tt=%p \n",
3879 &beiscsi_iscsi_transport); 3879 &beiscsi_iscsi_transport);