On Jun 6, 2014, at 7:06 AM, Tomas Henzl <[email protected]> wrote:

> a jump to 'free_memory' is apparently missing
> 
> Signed-off-by: Tomas Henzl <[email protected]>
> ---
> 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++) {
> — 

Thanks.

Reviewed-by: Mike Christie <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to