From: Borislav Petkov <bp@alien8.de>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH 1/2] EDAC/aspeed: Fix handling of platform_get_irq() error
Date: Tue, 1 Sep 2020 20:51:36 +0200 [thread overview]
Message-ID: <20200901185136.GD8392@zn.tnic> (raw)
In-Reply-To: <20200827070743.26628-1-krzk@kernel.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 <krzk@kernel.org>
> ---
> 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
WARNING: multiple messages have this Message-ID (diff)
From: Borislav Petkov <bp@alien8.de>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Stefan Schaeckeler <sschaeck@cisco.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Tony Luck <tony.luck@intel.com>,
James Morse <james.morse@arm.com>,
Robert Richter <rric@kernel.org>, Joel Stanley <joel@jms.id.au>,
Andrew Jeffery <andrew@aj.id.au>, Tero Kristo <t-kristo@ti.com>,
linux-edac@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] EDAC/aspeed: Fix handling of platform_get_irq() error
Date: Tue, 1 Sep 2020 20:51:36 +0200 [thread overview]
Message-ID: <20200901185136.GD8392@zn.tnic> (raw)
In-Reply-To: <20200827070743.26628-1-krzk@kernel.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 <krzk@kernel.org>
> ---
> 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
WARNING: multiple messages have this Message-ID (diff)
From: Borislav Petkov <bp@alien8.de>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>, Robert Richter <rric@kernel.org>,
linux-aspeed@lists.ozlabs.org, Andrew Jeffery <andrew@aj.id.au>,
linux-kernel@vger.kernel.org, Tero Kristo <t-kristo@ti.com>,
James Morse <james.morse@arm.com>, Joel Stanley <joel@jms.id.au>,
Stefan Schaeckeler <sschaeck@cisco.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org
Subject: Re: [PATCH 1/2] EDAC/aspeed: Fix handling of platform_get_irq() error
Date: Tue, 1 Sep 2020 20:51:36 +0200 [thread overview]
Message-ID: <20200901185136.GD8392@zn.tnic> (raw)
In-Reply-To: <20200827070743.26628-1-krzk@kernel.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 <krzk@kernel.org>
> ---
> 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
next prev parent reply other threads:[~2020-09-01 18:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0D9EC2D2-C4A0-42E9-94A5-DCFBE7BFEC43@cisco.com>
2020-08-27 7:07 ` [PATCH 1/2] EDAC/aspeed: Fix handling of platform_get_irq() error Krzysztof Kozlowski
2020-08-27 7:07 ` Krzysztof Kozlowski
2020-08-27 7:07 ` Krzysztof Kozlowski
2020-08-27 7:07 ` [PATCH 2/2] EDAC/ti: " Krzysztof Kozlowski
2020-08-27 7:07 ` Krzysztof Kozlowski
2020-08-27 7:07 ` Krzysztof Kozlowski
2020-08-27 7:13 ` Tero Kristo
2020-08-27 7:13 ` Tero Kristo
2020-08-27 7:13 ` Tero Kristo
2020-08-27 23:49 ` [PATCH 1/2] EDAC/aspeed: " Stefan Schaeckeler
2020-08-27 23:49 ` Stefan Schaeckeler
2020-08-27 23:49 ` Stefan Schaeckeler
2020-09-01 18:51 ` Borislav Petkov [this message]
2020-09-01 18:51 ` Borislav Petkov
2020-09-01 18:51 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200901185136.GD8392@zn.tnic \
--to=bp@alien8.de \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.