Re: [PATCH 5.10 000/151] 5.10.225-rc1 review

From: Naresh Kamboju
Date: Mon Sep 02 2024 - 04:33:33 EST


On Sun, 1 Sept 2024 at 22:20, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This is the start of the stable review cycle for the 5.10.225 release.
> There are 151 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 Tue, 03 Sep 2024 16:07:34 +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/v5.x/stable-review/patch-5.10.225-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-5.10.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

The Powerpc defconfig builds failed on Linux stable-rc due to following
build warnings / errors with clang-18 and gcc-12.

This is a same problem on current stable-rc review on
- 5.4.283-rc1 review
- 5.10.225-rc1 review
- 5.15.166-rc1 review

In the case of stable-rc linux-5.10.y

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

Anders bisected this to first bad commit id as,
fbdev: offb: replace of_node_put with __free(device_node)
[ Upstream commit ce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76 ]

build log:
--------
drivers/video/fbdev/offb.c: In function 'offb_init_palette_hacks':
drivers/video/fbdev/offb.c:357:47: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__free'
357 | struct device_node *pciparent
__free(device_node) = of_get_parent(dp);
| ^~~~~~
drivers/video/fbdev/offb.c:357:47: error: implicit declaration of
function '__free'; did you mean 'kfree'?
[-Werror=implicit-function-declaration]
357 | struct device_node *pciparent
__free(device_node) = of_get_parent(dp);
| ^~~~~~
| kfree
drivers/video/fbdev/offb.c:357:54: error: 'device_node' undeclared
(first use in this function)
357 | struct device_node *pciparent
__free(device_node) = of_get_parent(dp);
| ^~~~~~~~~~~
drivers/video/fbdev/offb.c:357:54: note: each undeclared identifier is
reported only once for each function it appears in
drivers/video/fbdev/offb.c:358:17: warning: ISO C90 forbids mixed
declarations and code [-Wdeclaration-after-statement]
358 | const u32 *vid, *did;
| ^~~~~
drivers/video/fbdev/offb.c:359:39: error: 'pciparent' undeclared
(first use in this function); did you mean 'xa_parent'?
359 | vid = of_get_property(pciparent, "vendor-id", NULL);
| ^~~~~~~~~
| xa_parent
cc1: some warnings being treated as errors


Build Log links,
--------
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.224-152-gee485d4aa099/testrun/24999742/suite/build/test/gcc-12-ppc6xx_defconfig/log

Build failed comparison:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.224-152-gee485d4aa099/testrun/24999742/suite/build/test/gcc-12-ppc6xx_defconfig/history/

metadata:
----
git describe: v5.10.224-152-gee485d4aa099
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git sha: ee485d4aa099209aaf39d4a5b8fe624ce3b3499d
kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2lTio0YVAvyu3ldUd5EvqiE4ii0/config
build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2lTio0YVAvyu3ldUd5EvqiE4ii0/
toolchain: clang-18 and gcc-12
config: defconfig
arch: powerpc

Steps to reproduce:
---------
- tuxmake --runtime podman --target-arch powerpc --toolchain gcc-12
--kconfig ppc6xx_defconfig


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