summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2014-06-06 14:06:30 +0200
committerChristoph Hellwig <hch@lst.de>2014-06-25 13:29:05 +0200
commit5f2d25efa4c4567fa72b70de4e041252c72aa10e (patch)
treec9bacf537d77f9e8af8149427af40550a01ba93d /drivers/scsi/be2iscsi
parent8b8f5d9715845f9ae2b89ce406e71877965b29ca (diff)
downloadop-kernel-dev-5f2d25efa4c4567fa72b70de4e041252c72aa10e.zip
op-kernel-dev-5f2d25efa4c4567fa72b70de4e041252c72aa10e.tar.gz
be2iscsi: add an missing goto in error path
a jump to 'free_memory' is apparently missing Signed-off-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r--drivers/scsi/be2iscsi/be_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 5543490..56467df 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -4198,6 +4198,8 @@ static int hba_setup_cid_tbls(struct beiscsi_hba *phba)
kfree(phba->ep_array);
phba->ep_array = NULL;
ret = -ENOMEM;
+
+ goto free_memory;
}
for (i = 0; i < phba->params.cxns_per_ctrl; i++) {
OpenPOWER on IntegriCloud