[REGRESSION] upstream-mainline/master: (build) initializer-string for array of ‘char’ is too long [-Werror=unterm...

2025-03-06 Thread KernelCI bot
Hello,

New build issue found on upstream-mainline/master:

---
 initializer-string for array of ‘char’ is too long
[-Werror=unterminated-string-initialization] in
drivers/gpu/drm/panthor/panthor_fw.o
(drivers/gpu/drm/panthor/panthor_fw.c)
[logspec:kbuild,kbuild.compiler.error]
---

- dashboard: 
https://d.kernelci.org/issue/redhat:89b66683928343b36d40dad54887077a02269f3a
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- commit HEAD:  848e076317446f9c663771ddec142d7c2eb4cb43


Log excerpt:
=
00:16:36 drivers/gpu/drm/panthor/panthor_fw.c:641:53: error:
initializer-string for array of ‘char’ is too long
[-Werror=unterminated-string-initialization]
00:16:36   641 | const char git_sha_header[sizeof(header)] =
"git_sha: ";
00:16:36   | ^~~
00:16:36   CC [M]  drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.o
00:16:37   CC [M]  drivers/media/dvb-frontends/tda1004x.o
00:16:37   CC [M]  drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.o
00:16:37   CC [M]  drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.o
00:16:37   CC [M]  drivers/firmware/arm_scmi/transports/optee.o
00:16:37   CC [M]  drivers/gpu/drm/msm/adreno/a6xx_preempt.o
00:16:37   CC [M]  drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv4e.o
00:16:37 cc1: all warnings being treated as errors
00:16:37
=


# Builds where the incident occurred:

## olddefconfig on (aarch64):
- compiler: gcc (GCC) 15.0.1 20250228 (Red Hat 15.0.1-0)
- dashboard: https://d.kernelci.org/build/redhat:1702059263-aarch64-kernel


#kernelci issue redhat:89b66683928343b36d40dad54887077a02269f3a

Reported-by: kernelci.org bot 

--
This is an experimental report format. Please send feedback in!
Talk to us at kerne...@lists.linux.dev

Made with love by the KernelCI team - https://kernelci.org


[REGRESSION] upstream-mainline/master: (build) initializer-string for array of ‘char’ is too long [-Werror=unterm...

2025-03-06 Thread KernelCI bot
Hello,

New build issue found on upstream-mainline/master:

---
 initializer-string for array of ‘char’ is too long
[-Werror=unterminated-string-initialization] in
drivers/gpu/drm/i915/gvt/opregion.o
(drivers/gpu/drm/i915/gvt/opregion.c)
[logspec:kbuild,kbuild.compiler.error]
---

- dashboard: 
https://d.kernelci.org/issue/redhat:c82bb4d57b2c0b4362cb57412380836b17c0bad7
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- commit HEAD:  848e076317446f9c663771ddec142d7c2eb4cb43


Log excerpt:
=
00:19:02 drivers/gpu/drm/i915/gvt/opregion.c:35:28: error:
initializer-string for array of ‘char’ is too long
[-Werror=unterminated-string-initialization]
00:19:0235 | #define OPREGION_SIGNATURE "IntelGraphicsMem"
00:19:02   |^~
00:19:02 drivers/gpu/drm/i915/gvt/opregion.c:225:45: note: in
expansion of macro ‘OPREGION_SIGNATURE’
00:19:02   225 | const char opregion_signature[16] = OPREGION_SIGNATURE;
00:19:02   | ^~
00:19:02   CC [M]  drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.o
00:19:03   CC [M]  drivers/gpu/drm/nouveau/nvkm/subdev/gpio/g94.o
00:19:03 cc1: all warnings being treated as errors
00:19:03
=


# Builds where the incident occurred:

## olddefconfig on (x86_64):
- compiler: gcc (GCC) 15.0.1 20250228 (Red Hat 15.0.1-0)
- dashboard: https://d.kernelci.org/build/redhat:1702059263-x86_64-kernel

## olddefconfig + kselftest-merge on (x86_64):
- compiler: gcc (GCC) 15.0.1 20250228 (Red Hat 15.0.1-0)
- dashboard: https://d.kernelci.org/build/redhat:1701509117-x86_64-kernel-debug


#kernelci issue redhat:c82bb4d57b2c0b4362cb57412380836b17c0bad7

Reported-by: kernelci.org bot 

--
This is an experimental report format. Please send feedback in!
Talk to us at kerne...@lists.linux.dev

Made with love by the KernelCI team - https://kernelci.org