aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-01-24 13:51:54 +0000
committerAlexander Gordeev <[email protected]>2025-01-29 12:44:21 +0000
commit87f017d0792befa83722b99cb21f9c8f574cd71d (patch)
tree76c60225ab4921b095e6105f2eb167c62a9b49a8 /drivers/net/ethernet/intel/ice/ice_lib.c
parents390/vmlogrdr: Use internal_name for error messages (diff)
downloadkernel-87f017d0792befa83722b99cb21f9c8f574cd71d.tar.gz
kernel-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 <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions