[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1c51f302-e79e-5aa4-e9a8-73a244a240ce@quicinc.com>
Date: Fri, 11 Aug 2023 07:51:23 -0600
From: Jeffrey Hugo <quic_jhugo@...cinc.com>
To: Arnd Bergmann <arnd@...nel.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
CC: Arnd Bergmann <arnd@...db.de>, Tom Rix <trix@...hat.com>,
Vivek Pernamitta <quic_vpernami@...cinc.com>,
Carl Vanderlip <quic_carlv@...cinc.com>,
"Qiang Yu" <quic_qianyu@...cinc.com>, <mhi@...ts.linux.dev>,
<linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<llvm@...ts.linux.dev>
Subject: Re: [PATCH] bus: mhi: host: remove unused-but-set parameter
On 8/11/2023 7:45 AM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> Clang warns about a parameter that is decremented but never evaluated heere:
>
> bus/mhi/host/main.c:803:13: error: parameter 'event_quota' set but not used [-Werror,-Wunused-but-set-parameter]
> u32 event_quota)
>
> Remove the access to the variable to avoid that warning.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Reviewed-by: Jeffrey Hugo <quic_jhugo@...cinc.com>
Powered by blists - more mailing lists