2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/s390/tools
Heiko Carstens 7cbae7ea3d 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>
2025-01-28 15:12:06 +01:00
..
.gitignore s390: add relocs tool 2024-02-20 14:37:33 +01:00
gcc-thunk-extern.sh s390/nospec: add an option to use thunk-extern 2022-03-10 15:58:17 +01:00
gen_facilities.c KVM: s390: add gen17 facilities to CPU model 2024-11-11 12:07:51 +00:00
gen_opcode_table.c s390/tools: Use array instead of string initializer 2025-01-28 15:12:06 +01:00
Makefile s390: add relocs tool 2024-02-20 14:37:33 +01:00
opcodes.txt s390/disassembler: Remove duplicate instruction format RSY_RDRU 2024-09-12 14:13:27 +02:00
relocs.c s390/boot: Fix KASLR base offset off by __START_KERNEL bytes 2024-08-22 19:24:13 +02:00