Re: [PATCH 5.15 000/309] 5.15.153-rc2 review

From: Daniel Díaz
Date: Mon Mar 25 2024 - 19:19:58 EST


Hello!

On 25/03/24 5:59 a. m., Sasha Levin wrote:
This is the start of the stable review cycle for the 5.15.153 release.
There are 309 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 Wed Mar 27 11:59:27 AM UTC 2024.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=linux-5.15.y&id2=v5.15.152
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
and the diffstat can be found below.

Thanks,
Sasha

We see other warnings here too, on Ar64, Arm32, x86, i386, MIPS, PowerPC, RISC-V, System/390, SuperH, SPARC, ARC, on multiple combinations of toolchain and kernel configs.

-----8<-----
/builds/linux/kernel/printk/printk.c:261:13: warning: 'panic_in_progress' defined but not used [-Wunused-function]
261 | static bool panic_in_progress(void)
| ^~~~~~~~~~~~~~~~~
----->8-----

Reverting this commit makes the warning disappear:

commit d3ba3bc06ffa68aac04cf4f102ec882890a16015
Author: Stephen Brennan <stephen.s.brennan@xxxxxxxxxx>
Date: Wed Feb 2 09:18:18 2022 -0800

printk: Add panic_in_progress helper
[ Upstream commit 77498617857f68496b360081dde1a492d40c28b2 ]

Here's a reproducer:

tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-12 --kconfig tinyconfig


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Greetings!

Daniel Díaz
daniel.diaz@xxxxxxxxxx