public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 6.1 000/291] 6.1.135-rc1 review
       [not found] <20250423142624.409452181@linuxfoundation.org>
@ 2025-04-24 13:31 ` Naresh Kamboju
  2025-04-24 13:41   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Naresh Kamboju @ 2025-04-24 13:31 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
	patches, lkft-triage, pavel, jonathanh, f.fainelli,
	sudipm.mukherjee, srw, rwarsow, conor, hargar, broonie, Netdev,
	clang-built-linux, Anders Roxell, Dan Carpenter, Arnd Bergmann,
	Nathan Chancellor, David S. Miller, Jakub Kicinski

On Wed, 23 Apr 2025 at 20:16, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.1.135 release.
> There are 291 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Fri, 25 Apr 2025 14:25:27 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
>         https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.135-rc1.gz
> or in the git tree and branch at:
>         git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Regressions on arm, riscv and x86_64 with following kernel configs with
clang-20 and clang-nightly toolchains on stable-rc 6.1.135-rc1.

Build regressions:
* arm, build
  - clang-20-allmodconfig

* i386, build
  - clang-nightly-lkftconfig-kselftest

* riscv, build
  - clang-20-allmodconfig

* x86_64, build
  - clang-20-allmodconfig
  - clang-nightly-lkftconfig-kselftest

Regression Analysis:
 - New regression? Yes
 - Reproducibility? Yes

Build regression: arm allmodconfig variable 'is_redirect' is used
uninitialized whenever 'if' condition is true

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

## 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)) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

## Source
* Kernel version: 6.1.135-rc1
* Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* Git sha: b8b5da130779a27bf7d189bd3b40ebf59ee0e0e9
* Git describe: v6.1.134-292-gb8b5da130779
* Project details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.134-292-gb8b5da130779
* Architectures: arm riscv x86_64
* Toolchains: clang-20, clang-nightly
* Kconfigs: allmodconfig

## Build
* Build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.134-292-gb8b5da130779/testrun/28211709/suite/build/test/clang-20-allmodconfig/log
* Build history:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.134-292-gb8b5da130779/testrun/28211709/suite/build/test/clang-20-allmodconfig/history/
* Build details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.134-292-gb8b5da130779/testrun/28211709/suite/build/test/clang-20-allmodconfig/details/
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2w8QtyR8377WMNLrbtsmGi2lkaI/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2w8QtyR8377WMNLrbtsmGi2lkaI/config

## Steps to reproduce on riscv
 - tuxmake --runtime podman --target-arch arm --toolchain clang-20
--kconfig allmodconfig LLVM=1 LLVM_IAS=1

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 6.1 000/291] 6.1.135-rc1 review
  2025-04-24 13:31 ` [PATCH 6.1 000/291] 6.1.135-rc1 review Naresh Kamboju
@ 2025-04-24 13:41   ` Greg Kroah-Hartman
  2025-04-24 14:34     ` Arnd Bergmann
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2025-04-24 13:41 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: stable, patches, linux-kernel, torvalds, akpm, linux, shuah,
	patches, lkft-triage, pavel, jonathanh, f.fainelli,
	sudipm.mukherjee, srw, rwarsow, conor, hargar, broonie, Netdev,
	clang-built-linux, Anders Roxell, Dan Carpenter, Arnd Bergmann,
	Nathan Chancellor, David S. Miller, Jakub Kicinski

On Thu, Apr 24, 2025 at 07:01:02PM +0530, Naresh Kamboju wrote:
> On Wed, 23 Apr 2025 at 20:16, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > This is the start of the stable review cycle for the 6.1.135 release.
> > There are 291 patches in this series, all will be posted as a response
> > to this one.  If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Fri, 25 Apr 2025 14:25:27 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> >         https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.135-rc1.gz
> > or in the git tree and branch at:
> >         git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
> 
> Regressions on arm, riscv and x86_64 with following kernel configs with
> clang-20 and clang-nightly toolchains on stable-rc 6.1.135-rc1.
> 
> Build regressions:
> * arm, build
>   - clang-20-allmodconfig
> 
> * i386, build
>   - clang-nightly-lkftconfig-kselftest
> 
> * riscv, build
>   - clang-20-allmodconfig
> 
> * x86_64, build
>   - clang-20-allmodconfig
>   - clang-nightly-lkftconfig-kselftest
> 
> Regression Analysis:
>  - New regression? Yes
>  - Reproducibility? Yes
> 
> Build regression: arm allmodconfig variable 'is_redirect' is used
> uninitialized whenever 'if' condition is true
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> ## 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?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 6.1 000/291] 6.1.135-rc1 review
  2025-04-24 13:41   ` Greg Kroah-Hartman
@ 2025-04-24 14:34     ` Arnd Bergmann
  2025-04-24 15:28       ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2025-04-24 14:34 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Naresh Kamboju
  Cc: stable, patches, linux-kernel, Linus Torvalds, Andrew Morton,
	Guenter Roeck, shuah, patches, lkft-triage, Pavel Machek,
	Jon Hunter, Florian Fainelli, Sudip Mukherjee, Slade Watkins,
	rwarsow, Conor Dooley, hargar, Mark Brown, Netdev,
	clang-built-linux, Anders Roxell, Dan Carpenter,
	Nathan Chancellor, David S . Miller, Jakub Kicinski

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 6.1 000/291] 6.1.135-rc1 review
  2025-04-24 14:34     ` Arnd Bergmann
@ 2025-04-24 15:28       ` Greg Kroah-Hartman
  2025-04-28  7:50         ` He Zhe
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2025-04-24 15:28 UTC (permalink / raw)
  To: He Zhe, Arnd Bergmann
  Cc: Naresh Kamboju, stable, patches, linux-kernel, Linus Torvalds,
	Andrew Morton, Guenter Roeck, shuah, patches, lkft-triage,
	Pavel Machek, Jon Hunter, Florian Fainelli, Sudip Mukherjee,
	Slade Watkins, rwarsow, Conor Dooley, hargar, Mark Brown, Netdev,
	clang-built-linux, Anders Roxell, Dan Carpenter,
	Nathan Chancellor, David S . Miller, Jakub Kicinski

On Thu, Apr 24, 2025 at 04:34:04PM +0200, Arnd Bergmann wrote:
> 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.

Ok, that didn't apply cleanly either, so I'm just going to drop this
backported patch and wait for the submitter to fix it up and resend it.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 6.1 000/291] 6.1.135-rc1 review
  2025-04-24 15:28       ` Greg Kroah-Hartman
@ 2025-04-28  7:50         ` He Zhe
  0 siblings, 0 replies; 5+ messages in thread
From: He Zhe @ 2025-04-28  7:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Arnd Bergmann
  Cc: Naresh Kamboju, stable, patches, linux-kernel, Linus Torvalds,
	Andrew Morton, Guenter Roeck, shuah, patches, lkft-triage,
	Pavel Machek, Jon Hunter, Florian Fainelli, Sudip Mukherjee,
	Slade Watkins, rwarsow, Conor Dooley, hargar, Mark Brown, Netdev,
	clang-built-linux, Anders Roxell, Dan Carpenter,
	Nathan Chancellor, David S . Miller, Jakub Kicinski



On 2025/4/24 23:28, Greg Kroah-Hartman wrote:
> On Thu, Apr 24, 2025 at 04:34:04PM +0200, Arnd Bergmann wrote:
>> 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.
> Ok, that didn't apply cleanly either, so I'm just going to drop this
> backported patch and wait for the submitter to fix it up and resend it.

Sorry for the inconvenience. We have fixed the above issue found by clang-20
and will sent out v2 soon.

Thanks,
Zhe

>
> thanks,
>
> greg k-h


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-28  7:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250423142624.409452181@linuxfoundation.org>
2025-04-24 13:31 ` [PATCH 6.1 000/291] 6.1.135-rc1 review Naresh Kamboju
2025-04-24 13:41   ` Greg Kroah-Hartman
2025-04-24 14:34     ` Arnd Bergmann
2025-04-24 15:28       ` Greg Kroah-Hartman
2025-04-28  7:50         ` He Zhe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox