diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-01-24 14:51:54 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-29 13:44:21 +0100 |
commit | 87f017d0792befa83722b99cb21f9c8f574cd71d (patch) | |
tree | 76c60225ab4921b095e6105f2eb167c62a9b49a8 /drivers/irqchip/irq-realtek-rtl.c | |
parent | 76bda8a16d77063cffea9fc4e3ead033afba9d6d (diff) |
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 'drivers/irqchip/irq-realtek-rtl.c')
0 files changed, 0 insertions, 0 deletions