projects
/
platform
/
kernel
/
linux-rpi.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
5543490
..
56467df
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++) {