From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752231AbdHRROi (ORCPT ); Fri, 18 Aug 2017 13:14:38 -0400 Received: from mail.skyhub.de ([5.9.137.197]:53240 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167AbdHRROh (ORCPT ); Fri, 18 Aug 2017 13:14:37 -0400 Date: Fri, 18 Aug 2017 19:14:34 +0200 From: Borislav Petkov To: Christophe JAILLET Cc: ralf@linux-mips.org, david.daney@cavium.com, mchehab@kernel.org, linux-edac@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] EDAC, thunderx: Fix an error handling path in 'thunderx_lmc_probe()' Message-ID: <20170818171434.qlxnimpnuvrhipa7@pd.tnic> References: <20170816045821.14165-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170816045821.14165-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 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 > --- > 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.