On Wed, Dec 04, 2024 at 06:30:47PM +0530, Naresh Kamboju wrote:
On Tue, 3 Dec 2024 at 21:06, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.12.2-rc1.... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.12.y and the diffstat can be found below
...
- The allmodconfig builds failed on arm64, arm, riscv and x86_64 due to following build warnings / errors.
Build errors for allmodconfig:
drivers/gpu/drm/imx/ipuv3/parallel-display.c:75:3: error: variable 'num_modes' is uninitialized when used here [-Werror,-Wuninitialized] 75 | num_modes++; | ^~~~~~~~~ drivers/gpu/drm/imx/ipuv3/parallel-display.c:55:15: note: initialize the variable 'num_modes' to silence this warning 55 | int num_modes; | ^ | = 0 1 error generated. make[8]: *** [scripts/Makefile.build:229: drivers/gpu/drm/imx/ipuv3/parallel-display.o] Error 1
Introduced by backporting commit 5f6e56d3319d ("drm/imx: parallel-display: switch to drm_panel_bridge") without commit f94b9707a1c9 ("drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector"). The latter change also had a follow up fix in commit ef214002e6b3 ("drm/imx: parallel-display: add legacy bridge Kconfig dependency").
drivers/gpu/drm/imx/ipuv3/imx-ldb.c:143:3: error: variable 'num_modes' is uninitialized when used here [-Werror,-Wuninitialized] 143 | num_modes++; | ^~~~~~~~~ drivers/gpu/drm/imx/ipuv3/imx-ldb.c:133:15: note: initialize the variable 'num_modes' to silence this warning 133 | int num_modes; | ^ | = 0 1 error generated.
Introduced by backporting commit 5c5843b20bbb ("drm/imx: ldb: switch to drm_panel_bridge") without commit 4c3d525f6573 ("drm/imx: ldb: switch to imx_legacy_bridge / drm_bridge_connector").
These are both upstream patch series bisectability issues, not anything that stable specifically did, as the num_nodes initialization was removed by the first change but the entire function containing num_nodes was removed by the second change so when the series was taken atomically upstream, nobody notices. However, I do wonder why these patches are being picked up, as they don't really read like fixes to me and the cover letter of the original series does not really make it seem like it either.
Cheers, Nathan