All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] be2iscsi: add an missing goto in error path
@ 2014-06-06 12:06 Tomas Henzl
  2014-06-06 14:08 ` Christoph Hellwig
  2014-06-06 17:04 ` Michael Christie
  0 siblings, 2 replies; 3+ messages in thread
From: Tomas Henzl @ 2014-06-06 12:06 UTC (permalink / raw)
  To: 'linux-scsi@vger.kernel.org'; +Cc: jayamohank, sony.john-n

a jump to 'free_memory' is apparently missing

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
---
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index ac54cf5..442982d 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -4209,6 +4209,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++) {
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-06 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 12:06 [PATCH] be2iscsi: add an missing goto in error path Tomas Henzl
2014-06-06 14:08 ` Christoph Hellwig
2014-06-06 17:04 ` Michael Christie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.