diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-01-24 14:51:52 +0100 |
|---|---|---|
| committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-28 15:12:06 +0100 |
| commit | 7cbae7ea3de5c17b47aeb34a770446aba1eaa904 (patch) | |
| tree | 0c2248e9e6ddecdaf8d51d802958b7a5ead63d61 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | |
| parent | b05d66c882994fb63e8435bf64f262ef44c51874 (diff) | |
s390/tools: Use array instead of string initializer
The in-kernel disassembler intentionally uses nun-null terminated
strings in order to keep the arrays which contain mnemonics as small
as possible. GCC 15 however warns about this:
./arch/s390/include/generated/asm/dis-defs.h:1662:71: error: initializer-string
for array of ‘char’ is too long [-Werror=unterminated-string-initialization]
1662 | [1261] = { .opfrag = 0xea, .format = INSTR_SS_L0RDRD, .name = "unpka" }, \
Get rid of this warning by using array initializers.
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c')
0 files changed, 0 insertions, 0 deletions
