[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <e77b24ce-e91b-4c90-82d6-0fa91fcce163@app.fastmail.com>
Date: Thu, 24 Apr 2025 16:34:04 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
"Naresh Kamboju" <naresh.kamboju@...aro.org>
Cc: stable@...r.kernel.org, patches@...ts.linux.dev,
linux-kernel@...r.kernel.org,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Guenter Roeck" <linux@...ck-us.net>, shuah <shuah@...nel.org>,
patches@...nelci.org, lkft-triage@...ts.linaro.org,
"Pavel Machek" <pavel@...x.de>, "Jon Hunter" <jonathanh@...dia.com>,
"Florian Fainelli" <f.fainelli@...il.com>,
"Sudip Mukherjee" <sudipm.mukherjee@...il.com>,
"Slade Watkins" <srw@...dewatkins.net>, rwarsow@....de,
"Conor Dooley" <conor@...nel.org>, hargar@...rosoft.com,
"Mark Brown" <broonie@...nel.org>, Netdev <netdev@...r.kernel.org>,
clang-built-linux <llvm@...ts.linux.dev>,
"Anders Roxell" <anders.roxell@...aro.org>,
"Dan Carpenter" <dan.carpenter@...aro.org>,
"Nathan Chancellor" <nathan@...nel.org>,
"David S . Miller" <davem@...emloft.net>, "Jakub Kicinski" <kuba@...nel.org>
Subject: Re: [PATCH 6.1 000/291] 6.1.135-rc1 review
On Thu, Apr 24, 2025, at 15:41, Greg Kroah-Hartman wrote:
> On Thu, Apr 24, 2025 at 07:01:02PM +0530, Naresh Kamboju wrote:
>>
>> ## Build error:
>> net/sched/act_mirred.c:265:6: error: variable 'is_redirect' is used
>> uninitialized whenever 'if' condition is true
>> [-Werror,-Wsometimes-uninitialized]
>> 265 | if (unlikely(!(dev->flags & IFF_UP)) ||
>> !netif_carrier_ok(dev)) {
>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Odd this isn't showing up in newer releases, as this is an old commit
> and nothing has changed in this file since then (it showed up in 6.8.)
>
> Is there some follow-up commit somewhere that I'm missing that resolved
> this issue?
I think the difference is commit 16085e48cb48 ("net/sched: act_mirred:
Create function tcf_mirred_to_dev and improve readability") from
v6.8, which adds the initialization that 166c2c8a6a4d ("net/sched:
act_mirred: don't override retval if we already lost the skb")
relies on.
Arnd
Powered by blists - more mailing lists