diff options
author | 2025-01-24 14:51:54 +0100 | |
---|---|---|
committer | 2025-01-29 13:44:21 +0100 | |
commit | 87f017d0792befa83722b99cb21f9c8f574cd71d (patch) | |
tree | 76c60225ab4921b095e6105f2eb167c62a9b49a8 /scripts/lib/kdoc/kdoc_parser.py | |
parent | s390/vmlogrdr: Use internal_name for error messages (diff) | |
download | linux-rng-87f017d0792befa83722b99cb21f9c8f574cd71d.tar.xz linux-rng-87f017d0792befa83722b99cb21f9c8f574cd71d.zip |
s390/vmlogrdr: Use array instead of string initializer
Compiling vmlogrdr with GCC 15 generates this warning:
CC [M] drivers/s390/char/vmlogrdr.o
drivers/s390/char/vmlogrdr.c:126:29: error: initializer-string for array
of ‘char’ is too long [-Werror=unterminated-string-initialization]
126 | { .system_service = "*LOGREC ",
Given that the system_service array intentionally contains a non-null
terminated string use an array initializer, instead of string
initializer to get rid of this warning.
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions