projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8f5d9
)
be2iscsi: add an missing goto in error path
author
Tomas Henzl
<thenzl@redhat.com>
Fri, 6 Jun 2014 12:06:30 +0000
(14:06 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 25 Jun 2014 11:29:05 +0000
(13:29 +0200)
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>
drivers/scsi/be2iscsi/be_main.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/be2iscsi/be_main.c
b/drivers/scsi/be2iscsi/be_main.c
index 554349029628417d03b163cb066b94b6b0552c05..56467df3d6de668521fd2d578d52aa2578027a08 100644
(file)
--- 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++) {