[REGRESSION] upstream-mainline/master: (build) initializer-string for array of ‘char’ is too long [-Werror=unterm...
KernelCI bot
bot at kernelci.org
Thu Mar 6 19:36:30 UTC 2025
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:02 35 | #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 <bot at kernelci.org>
--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci at lists.linux.dev
Made with love by the KernelCI team - https://kernelci.org
More information about the dri-devel
mailing list