Re: [PATCH 2/3] IB/mthca: Less function calls in mthca_reset() after error detection
From: Leon Romanovsky
Date: Mon Jul 25 2016 - 09:20:46 EST
On Sat, Jul 23, 2016 at 12:59:15PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Sat, 23 Jul 2016 11:28:30 +0200
>
> The kfree() function was called in a few cases by the mthca_reset()
> function during error handling even if the passed variables "bridge_header"
> and "hca_header" contained a null pointer.
>
> Adjust jump targets according to the Linux coding style convention.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: Digital signature