Linus Torvalds
05e8d261a3
gcc-15: add '__nonstring' markers to byte arrays
...
All of these cases are perfectly valid and good traditional C, but hit
by the "you're not NUL-terminating your byte array" warning.
And none of the cases want any terminating NUL character.
Mark them __nonstring to shut up gcc-15 (and in the case of the ak8974
magnetometer driver, I just removed the explicit array size and let gcc
expand the 3-byte and 6-byte arrays by one extra byte, because it was
the simpler change).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2025-04-20 11:57:54 -07:00
..
2025-04-03 15:35:46 -07:00
2025-03-24 10:47:14 -07:00
2025-04-11 15:24:29 +02:00
2025-03-24 10:47:14 -07:00
2025-04-17 15:08:29 -07:00
2025-04-17 09:17:57 -07:00
2025-04-20 11:57:54 -07:00
2025-04-04 11:31:42 -07:00
2025-02-27 20:00:17 +01:00
2025-02-27 20:00:17 +01:00
2025-03-26 18:08:55 -07:00
2025-01-30 08:22:31 +01:00
2025-04-07 15:22:12 +02:00
2025-03-18 10:49:22 -05:00
2025-03-24 10:47:14 -07:00
2025-03-29 11:36:19 -07:00
2025-04-13 10:52:04 -07:00
2025-03-29 22:03:11 +09:00
2025-03-25 15:57:58 +01:00
2025-03-31 17:53:44 -07:00
2025-04-13 07:15:50 -07:00
2025-03-27 12:55:54 -07:00
2025-02-27 20:00:17 +01:00
2025-04-07 15:22:25 +02:00
2025-04-04 11:31:42 -07:00
2025-04-19 22:48:59 +02:00
2025-04-19 22:48:59 +02:00
2025-04-02 12:25:03 -07:00
2025-02-27 20:00:17 +01:00
2025-04-01 09:29:18 -07:00
2025-04-11 16:02:27 +02:00
2025-04-04 12:28:32 +02:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-03-27 13:17:39 -07:00
2025-04-01 11:02:03 -07:00
2025-03-10 09:11:13 -04:00
2025-02-27 20:00:17 +01:00
2025-04-17 10:13:46 +02:00
2025-04-19 10:38:03 -07:00
2025-03-10 09:11:04 -04:00
2025-04-19 10:38:03 -07:00
2025-04-05 10:30:12 +02:00
2025-03-24 09:34:10 -07:00
2025-04-02 16:30:02 -07:00
2025-04-05 10:30:12 +02:00
2025-02-27 20:00:17 +01:00
2025-03-27 13:14:39 -07:00
2025-04-07 11:22:49 +02:00
2025-04-01 10:06:52 -07:00
2025-04-05 10:30:12 +02:00
2025-01-28 13:48:37 +01:00
2025-02-27 20:00:17 +01:00
2025-04-18 20:10:42 -07:00
2025-03-16 17:40:24 -07:00
2025-02-15 17:46:32 +01:00
2025-02-27 20:00:17 +01:00
2025-03-29 10:01:55 -07:00
2025-04-01 09:29:18 -07:00
2025-02-27 20:00:17 +01:00
2025-02-12 14:00:11 -08:00
2025-03-24 10:47:14 -07:00
2025-02-17 11:34:15 -08:00
2025-04-16 12:56:10 +02:00
2025-02-06 13:02:15 +01:00
2025-01-28 13:48:37 +01:00
2025-01-27 19:25:45 -05:00
2025-02-27 20:00:17 +01:00
2025-03-07 20:07:33 -08:00
2025-02-10 16:47:07 -08:00
2025-01-20 13:27:58 -08:00
2025-02-13 19:35:32 -08:00
2025-04-01 09:29:18 -07:00
2025-03-26 21:02:05 -07:00
2025-04-17 20:10:06 -07:00
2025-03-26 21:02:05 -07:00
2025-02-07 16:53:04 +01:00
2025-02-21 10:25:31 +01:00
2025-04-17 09:56:20 +02:00
2025-04-03 13:10:47 +02:00
2025-03-24 13:19:17 -07:00
2025-03-24 13:19:17 -07:00
2025-02-07 16:53:04 +01:00
2025-02-12 10:02:10 +01:00
2025-03-05 11:52:50 +01:00
2025-03-20 13:06:51 +01:00
2025-03-24 13:19:17 -07:00
2025-02-21 10:25:32 +01:00
2025-04-19 10:38:03 -07:00
2025-03-24 10:16:37 -07:00
2025-01-28 13:48:37 +01:00
2025-02-21 10:32:47 +01:00
2025-02-12 12:12:27 +01:00
2025-03-24 11:41:41 -07:00
2025-02-24 11:44:44 +01:00
2025-04-16 09:33:09 +02:00
2025-04-11 16:07:50 +02:00
2025-03-24 11:38:12 -07:00
2025-03-24 13:19:17 -07:00
2025-03-24 10:16:37 -07:00
2025-03-10 08:55:13 +01:00
2025-03-24 11:41:41 -07:00
2025-03-04 09:29:54 +01:00
2025-02-21 10:25:32 +01:00
2025-01-13 16:24:16 +01:00
2025-02-21 10:25:31 +01:00
2025-03-10 08:55:05 +01:00
2025-04-17 10:14:34 +02:00
2025-03-24 09:13:50 -07:00
2025-01-28 13:48:37 +01:00
2025-03-25 10:54:15 -07:00
2025-04-01 15:14:42 -07:00