Re: [PATCH] EDAC, thunderx: Fix an error handling path in 'thunderx_lmc_probe()'
From: Borislav Petkov
Date: Fri Aug 18 2017 - 13:14:48 EST
On Wed, Aug 16, 2017 at 06:58:21AM +0200, Christophe JAILLET wrote:
> 'ret' is known to be 0 at this point.
> If 'ioremap()' fails, returns -ENOMEM instead of 0 which means success.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/edac/thunderx_edac.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.