[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c24dfb33-bbce-732e-c242-f4f4e6a1e04f@huawei.com>
Date: Wed, 6 May 2020 16:43:00 +0800
From: Jason Yan <yanaijie@...wei.com>
To: Russell King - ARM Linux admin <linux@...linux.org.uk>
CC: <tony@...mide.com>, <peter.ujfalusi@...com>,
<linux-omap@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: OMAP2+: remove unneeded variable "errata" in
configure_dma_errata()
在 2020/5/6 16:29, Russell King - ARM Linux admin 写道:
> On Wed, May 06, 2020 at 02:19:00PM +0800, Jason Yan wrote:
>> Fix the following coccicheck warning:
>>
>> arch/arm/mach-omap2/dma.c:82:10-16: Unneeded variable: "errata". Return
>> "0" on line 161
>
> NAK. Look closer at what the code is doing, thanks.
>
> This warning is basically incorrect.
>
OK, the macro SET_DMA_ERRATA is using this variable.
Powered by blists - more mailing lists