From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753925AbdFWIMi (ORCPT ); Fri, 23 Jun 2017 04:12:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:35418 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753827AbdFWIMd (ORCPT ); Fri, 23 Jun 2017 04:12:33 -0400 Date: Fri, 23 Jun 2017 10:12:09 +0200 From: Borislav Petkov To: Christophe JAILLET Cc: mingo@kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] RAS: Fix an error checking test in 'create_debugfs_nodes()' Message-ID: <20170623081209.ypgow4gii4lahogp@pd.tnic> References: <20170623062440.6726-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170623062440.6726-1-christophe.jaillet@wanadoo.fr> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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) --