[PATCH 6.18 000/614] 6.18.2-rc1 review

Naresh Kamboju posted 614 patches 1 day, 17 hours ago
Only 0 patches received!
[PATCH 6.18 000/614] 6.18.2-rc1 review
Posted by Naresh Kamboju 1 day, 17 hours ago
I'm seeing the following allmodconfig and allyesconfig build
failures on arm, arm64, riscv and x86_64.

## Build error
sound/soc/codecs/nau8325.c:430:13: error: variable 'n2_max' is uninitialized when used here [-Werror,-Wuninitialized]
  430 |                 *n2_sel = n2_max;
      |                           ^~~~~~
sound/soc/codecs/nau8325.c:389:52: note: initialize the variable 'n2_max' to silence this warning
  389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
      |                                                           ^
      |                                                            = 0
sound/soc/codecs/nau8325.c:431:11: error: variable 'ratio_sel' is uninitialized when used here [-Werror,-Wuninitialized]
  431 |                 ratio = ratio_sel;
      |                         ^~~~~~~~~
sound/soc/codecs/nau8325.c:389:44: note: initialize the variable 'ratio_sel' to silence this warning
  389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
      |                                                   ^
      |                                                    = 0
2 errors generated.
make[6]: *** [scripts/Makefile.build:287: sound/soc/codecs/nau8325.o] Error 1

First seen on 6.18.2-rc1
Good: 6.18.1-rc1
Bad:  6.18.2-rc1

And these build regressions also seen on 6.17.13-rc2.

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

## Build
* kernel: 6.18.2-rc1
* git: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* git commit: 103c79e44ce7c81882928abab98b96517a8bce88
* git describe: v6.18-645-g103c79e44ce7
* test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.18.y/build/v6.18-645-g103c79e44ce7

## Test Regressions (compared to v6.18-30-g7d4c06f4000f)
* Build,
- clang-21-allmodconfig
- clang-21-allyesconfig
- clang-nightly-allyesconfig

## Metric Regressions (compared to v6.18-30-g7d4c06f4000f)

## Test Fixes (compared to v6.18-30-g7d4c06f4000f)

## Metric Fixes (compared to v6.18-30-g7d4c06f4000f)

## Test result summary
total: 101371, pass: 83553, fail: 3486, skip: 14332, xfail: 0

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 139 total, 138 passed, 1 failed
* arm64: 57 total, 51 passed, 6 failed
* i386: 18 total, 18 passed, 0 failed
* mips: 34 total, 33 passed, 1 failed
* parisc: 4 total, 4 passed, 0 failed
* powerpc: 40 total, 39 passed, 1 failed
* riscv: 25 total, 24 passed, 1 failed
* s390: 22 total, 21 passed, 1 failed
* sh: 5 total, 5 passed, 0 failed
* sparc: 4 total, 3 passed, 1 failed
* x86_64: 49 total, 46 passed, 3 failed

## Test suites summary
* boot
* commands
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-efivarfs
* kselftest-exec
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-kcmp
* kselftest-kvm
* kselftest-membarrier
* kselftest-memfd
* kselftest-mincore
* kselftest-mm
* kselftest-mqueue
* kselftest-net
* kselftest-net-mptcp
* kselftest-openat2
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-rust
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-tc-testing
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user_events
* kselftest-vDSO
* kselftest-x86
* kunit
* kvm-unit-tests
* lava
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-build-clang
* log-parser-build-gcc
* log-parser-test
* ltp-capability
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-hugetlb
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture
* rt-tests-cyclicdeadline
* rt-tests-pi-stress
* rt-tests-pmqtest
* rt-tests-rt-migrate-test
* rt-tests-signaltest

--
Linaro LKFT
https://lkft.linaro.org
Re: [PATCH 6.18 000/614] 6.18.2-rc1 review
Posted by Greg KH 1 day, 7 hours ago
On Wed, Dec 17, 2025 at 01:22:55AM +0530, Naresh Kamboju wrote:
> I'm seeing the following allmodconfig and allyesconfig build
> failures on arm, arm64, riscv and x86_64.
> 
> ## Build error
> sound/soc/codecs/nau8325.c:430:13: error: variable 'n2_max' is uninitialized when used here [-Werror,-Wuninitialized]
>   430 |                 *n2_sel = n2_max;
>       |                           ^~~~~~
> sound/soc/codecs/nau8325.c:389:52: note: initialize the variable 'n2_max' to silence this warning
>   389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
>       |                                                           ^
>       |                                                            = 0
> sound/soc/codecs/nau8325.c:431:11: error: variable 'ratio_sel' is uninitialized when used here [-Werror,-Wuninitialized]
>   431 |                 ratio = ratio_sel;
>       |                         ^~~~~~~~~
> sound/soc/codecs/nau8325.c:389:44: note: initialize the variable 'ratio_sel' to silence this warning
>   389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
>       |                                                   ^
>       |                                                    = 0
> 2 errors generated.
> make[6]: *** [scripts/Makefile.build:287: sound/soc/codecs/nau8325.o] Error 1
> 
> First seen on 6.18.2-rc1
> Good: 6.18.1-rc1
> Bad:  6.18.2-rc1
> 
> And these build regressions also seen on 6.17.13-rc2.

Thanks, I'll go queue up the fix for this.

greg k-h
Re: [PATCH 6.18 000/614] 6.18.2-rc1 review
Posted by Naresh Kamboju 1 day, 5 hours ago
On Wed, 17 Dec 2025 at 12:00, Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Wed, Dec 17, 2025 at 01:22:55AM +0530, Naresh Kamboju wrote:
> > I'm seeing the following allmodconfig and allyesconfig build
> > failures on arm, arm64, riscv and x86_64.
> >
> > ## Build error
> > sound/soc/codecs/nau8325.c:430:13: error: variable 'n2_max' is uninitialized when used here [-Werror,-Wuninitialized]
> >   430 |                 *n2_sel = n2_max;
> >       |                           ^~~~~~
> > sound/soc/codecs/nau8325.c:389:52: note: initialize the variable 'n2_max' to silence this warning
> >   389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
> >       |                                                           ^
> >       |                                                            = 0
> > sound/soc/codecs/nau8325.c:431:11: error: variable 'ratio_sel' is uninitialized when used here [-Werror,-Wuninitialized]
> >   431 |                 ratio = ratio_sel;
> >       |                         ^~~~~~~~~
> > sound/soc/codecs/nau8325.c:389:44: note: initialize the variable 'ratio_sel' to silence this warning
> >   389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
> >       |                                                   ^
> >       |                                                    = 0
> > 2 errors generated.
> > make[6]: *** [scripts/Makefile.build:287: sound/soc/codecs/nau8325.o] Error 1
> >
> > First seen on 6.18.2-rc1
> > Good: 6.18.1-rc1
> > Bad:  6.18.2-rc1
> >
> > And these build regressions also seen on 6.17.13-rc2.
>
> Thanks, I'll go queue up the fix for this.

This build regression is across the 6.18.2-rc1, 6.17.13-rc2 and 6.12.63-rc1.

>
> greg k-h

- Naresh
Re: [PATCH 6.18 000/614] 6.18.2-rc1 review
Posted by Greg KH 1 day, 4 hours ago
On Wed, Dec 17, 2025 at 01:36:31PM +0530, Naresh Kamboju wrote:
> On Wed, 17 Dec 2025 at 12:00, Greg KH <gregkh@linuxfoundation.org> wrote:
> >
> > On Wed, Dec 17, 2025 at 01:22:55AM +0530, Naresh Kamboju wrote:
> > > I'm seeing the following allmodconfig and allyesconfig build
> > > failures on arm, arm64, riscv and x86_64.
> > >
> > > ## Build error
> > > sound/soc/codecs/nau8325.c:430:13: error: variable 'n2_max' is uninitialized when used here [-Werror,-Wuninitialized]
> > >   430 |                 *n2_sel = n2_max;
> > >       |                           ^~~~~~
> > > sound/soc/codecs/nau8325.c:389:52: note: initialize the variable 'n2_max' to silence this warning
> > >   389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
> > >       |                                                           ^
> > >       |                                                            = 0
> > > sound/soc/codecs/nau8325.c:431:11: error: variable 'ratio_sel' is uninitialized when used here [-Werror,-Wuninitialized]
> > >   431 |                 ratio = ratio_sel;
> > >       |                         ^~~~~~~~~
> > > sound/soc/codecs/nau8325.c:389:44: note: initialize the variable 'ratio_sel' to silence this warning
> > >   389 |         int i, j, mclk, mclk_max, ratio, ratio_sel, n2_max;
> > >       |                                                   ^
> > >       |                                                    = 0
> > > 2 errors generated.
> > > make[6]: *** [scripts/Makefile.build:287: sound/soc/codecs/nau8325.o] Error 1
> > >
> > > First seen on 6.18.2-rc1
> > > Good: 6.18.1-rc1
> > > Bad:  6.18.2-rc1
> > >
> > > And these build regressions also seen on 6.17.13-rc2.
> >
> > Thanks, I'll go queue up the fix for this.
> 
> This build regression is across the 6.18.2-rc1, 6.17.13-rc2 and 6.12.63-rc1.

The fix was applied to all of these now, thanks.

greg k-h