Re: [PATCH] RAS: Fix an error checking test in 'create_debugfs_nodes()'

From: Borislav Petkov
Date: Fri Jun 23 2017 - 04:12:45 EST


On Fri, Jun 23, 2017 at 08:24:40AM +0200, Christophe JAILLET wrote:
> 'decay' is kwown to be not NULL at this point.
> 'count' should be tested instead.
>
> Fixes: 011d82611172 ("RAS: Add a Corrected Errors Collector")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/ras/cec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--