mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 06:15:12 +00:00
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>
This commit is contained in:
parent
8b8f5d9715
commit
5f2d25efa4
@ -4198,6 +4198,8 @@ static int hba_setup_cid_tbls(struct beiscsi_hba *phba)
|
|||||||
kfree(phba->ep_array);
|
kfree(phba->ep_array);
|
||||||
phba->ep_array = NULL;
|
phba->ep_array = NULL;
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
|
|
||||||
|
goto free_memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < phba->params.cxns_per_ctrl; i++) {
|
for (i = 0; i < phba->params.cxns_per_ctrl; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user