[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Y7nQ44/NIRvENktJ@ubun2204.myguest.virtualbox.org>
Date: Sun, 8 Jan 2023 01:36:59 +0530
From: Deepak R Varma <drv@...lo.com>
To: Dinh Nguyen <dinguyen@...nel.org>, Borislav Petkov <bp@...en8.de>,
Tony Luck <tony.luck@...el.com>,
James Morse <james.morse@....com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Robert Richter <rric@...nel.org>, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Saurabh Singh Sengar <ssengar@...rosoft.com>,
Praveen Kumar <kumarpraveen@...ux.microsoft.com>,
Deepak R Varma <drv@...lo.com>
Subject: Re: [PATCH] EDAC/altera: Remove redundant error logging
On Thu, Dec 22, 2022 at 05:37:24PM +0530, Deepak R Varma wrote:
> A call to platform_get_irq() already prints an error on failure within
> its own implementation. So printing another error based on its return
> value in the caller is redundant and should be removed. The clean up
> also makes if condition block braces unnecessary. Remove that as well.
>
> Issue identified using platform_get_irq.cocci coccinelle semantic patch.
>
> Signed-off-by: Deepak R Varma <drv@...lo.com>
Hello,
Requesting a review and feedback on this patch proposal?
Thank you,
./drv
Powered by blists - more mailing lists