diff options
| author | Heiko Carstens <[email protected]> | 2025-01-24 13:51:52 +0000 |
|---|---|---|
| committer | Alexander Gordeev <[email protected]> | 2025-01-28 14:12:06 +0000 |
| commit | 7cbae7ea3de5c17b47aeb34a770446aba1eaa904 (patch) | |
| tree | 0c2248e9e6ddecdaf8d51d802958b7a5ead63d61 /scripts/rustdoc_test_gen.rs | |
| parent | s390/vmem: Fix null-pointer-arithmetic warning in vmem_map_init() (diff) | |
| download | kernel-7cbae7ea3de5c17b47aeb34a770446aba1eaa904.tar.gz kernel-7cbae7ea3de5c17b47aeb34a770446aba1eaa904.zip | |
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 <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
