Re: [PATCH] wifi: carl9170: Add __nonstring annotations for unterminated strings

From: Jeff Johnson
Date: Mon Mar 17 2025 - 13:52:47 EST



On Mon, 10 Mar 2025 15:23:40 -0700, Kees Cook wrote:
> When a character array without a terminating NUL character has a static
> initializer, GCC 15's -Wunterminated-string-initialization will only
> warn if the array lacks the "nonstring" attribute[1]. Mark the arrays
> with __nonstring to and correctly identify the char array as "not a C
> string" and thereby eliminate the warning.
>
>
> [...]

Applied, thanks!

[1/1] wifi: carl9170: Add __nonstring annotations for unterminated strings
commit: 9a1cf85c9c7cca15bfc452f207818977621dedf8

Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>