Re: [PATCH 6.18 000/614] 6.18.2-rc1 review
From: Greg KH
Date: Wed Dec 17 2025 - 04:26:44 EST
On Wed, Dec 17, 2025 at 01:36:31PM +0530, Naresh Kamboju wrote:
> On Wed, 17 Dec 2025 at 12:00, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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