From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18589C433E2 for ; Tue, 1 Sep 2020 18:53:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF2CB20767 for ; Tue, 1 Sep 2020 18:53:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s0gIFV4f"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="RAsJU/OB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF2CB20767 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sFHPZPPeskbvnV5ypHSGroLtCOz7M5oEmhmazkI72Z4=; b=s0gIFV4fWPhzGTQ3GYlmaQ8jX EDPjUw/oXqP5JMLUt3ORayp4rjWdoLhevF5seLT0CduZcWQfMAjuAFr94eQTbQD+84iiGbncfuVhO BipxKxKgN45uUfxwoIWLQMaT8DV+DkNORmFxqXtOWLigqS6sxIeHVeXDsG1a4YOQs38h5HWVjoYW0 NtTrddlT25W6gkSLfUZjQUo/WKwmJGq0qotp8fKsgxsoRDNDrRWgZr9dOVcPJAmJQcQeLWGgWIfSP odtzzQ83WatshRsAPyMXIQ5MBTGUKVngduj/GBDqDu1fTVEwYJVrer5cza/f0O3kXZNPoi8AZFoAw 8OkAMAcOA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDBNh-0007xd-4l; Tue, 01 Sep 2020 18:51:45 +0000 Received: from mail.skyhub.de ([2a01:4f8:190:11c2::b:1457]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDBNe-0007wY-Ek for linux-arm-kernel@lists.infradead.org; Tue, 01 Sep 2020 18:51:43 +0000 Received: from zn.tnic (p200300ec2f111c0024978c1e0fa9a8a0.dip0.t-ipconnect.de [IPv6:2003:ec:2f11:1c00:2497:8c1e:fa9:a8a0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 21A361EC0402; Tue, 1 Sep 2020 20:51:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1598986300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=tc9v2kAw0PVA7I9RWib1GcZ989FrHTMdQDbO4s8BKM8=; b=RAsJU/OBy9MVu0v9nJvhrlC7qFhgUbojEJXggI3sDNKRqkznwo4p4O5LUZrWOgi1S4LGXA WHdxRWK8gce4sytF0KJtgIJSRBm2gxHNLMp93EprPEVSnf+KGt8I3HKKMBZaeorURfc/QT pUus+ahMEd2CnViPPQyRsecadxqUEEE= Date: Tue, 1 Sep 2020 20:51:36 +0200 From: Borislav Petkov To: Krzysztof Kozlowski Subject: Re: [PATCH 1/2] EDAC/aspeed: Fix handling of platform_get_irq() error Message-ID: <20200901185136.GD8392@zn.tnic> References: <20200827070743.26628-1-krzk@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200827070743.26628-1-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200901_145142_716631_88A4E33D X-CRM114-Status: GOOD ( 13.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Luck , Robert Richter , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , linux-kernel@vger.kernel.org, Tero Kristo , James Morse , Joel Stanley , Stefan Schaeckeler , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 27, 2020 at 09:07:42AM +0200, Krzysztof Kozlowski wrote: > platform_get_irq() returns -ERRNO on error. In such case comparison > to 0 would pass the check. > > Fixes: 9b7e6242ee4e ("EDAC, aspeed: Add an Aspeed AST2500 EDAC driver") > Signed-off-by: Krzysztof Kozlowski > --- > drivers/edac/aspeed_edac.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Both applied, thanks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel