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

2017-06-23 Thread Borislav Petkov
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 > --- > drivers/ras/cec.c | 2 +- > 1 fil

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

2017-06-22 Thread Christophe JAILLET
'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 --- drivers/ras/cec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ras/cec.c b/drivers/r