Re: Build regressions/improvements in v6.6-rc1

From: Geert Uytterhoeven
Date: Tue Sep 12 2023 - 02:39:45 EST


On Mon, 11 Sep 2023, Geert Uytterhoeven wrote:
Below is the list of build error/warning regressions/improvements in
v6.6-rc1[1] compared to v6.5[2].

Summarized:
- build errors: +4/-13
- build warnings: +4/-1453

Note that there may be false regressions, as some logs are incomplete.
Still, they're build errors/warnings.

Happy fixing! ;-)

Thanks to the linux-next team for providing the build service.

[1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/0bb80ecc33a8fb5a682236443c1e740d5c917d1d/ (all 237 configs)
[2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/2dde18cd1d8fac735875f2e4987f11817cc0bc2c/ (234 out of 237 configs)


*** ERRORS ***

4 error regressions:
+ /kisskb/src/drivers/mfd/cs42l43.c: error: 'cs42l43_resume' defined but not used [-Werror=unused-function]: => 1106:12
+ /kisskb/src/drivers/mfd/cs42l43.c: error: 'cs42l43_runtime_resume' defined but not used [-Werror=unused-function]: => 1138:12
+ /kisskb/src/drivers/mfd/cs42l43.c: error: 'cs42l43_runtime_suspend' defined but not used [-Werror=unused-function]: => 1124:12
+ /kisskb/src/drivers/mfd/cs42l43.c: error: 'cs42l43_suspend' defined but not used [-Werror=unused-function]: => 1076:12

Various configs
Fix available:
https://lore.kernel.org/r/20230822114914.340359-1-ckeepax@xxxxxxxxxxxxxxxxxxxxx

*** WARNINGS ***

4 warning regressions:
+ /kisskb/src/fs/btrfs/volumes.c: warning: 'dev_offset' may be used uninitialized [-Wmaybe-uninitialized]: => 5245:48
+ /kisskb/src/fs/btrfs/volumes.c: warning: 'dev_offset' may be used uninitialized in this function [-Wmaybe-uninitialized]: => 5245:34
+ /kisskb/src/fs/btrfs/volumes.c: warning: 'max_avail' may be used uninitialized in this function [-Wmaybe-uninitialized]: => 5246:33

parisc64-gcc13/generic-64bit_defconfig
False positive

+ modpost: WARNING: modpost: vmlinux: section mismatch in reference: ioremap_prot+0x88 (section: .text) -> ioremap_fixed (section: .init.text): => N/A

sh4-gcc1[123]/sh-defconfig
Fix available:
https://lore.kernel.org/r/20230911093850.1517389-1-geert+renesas@xxxxxxxxx

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds