linux/drivers/input/joystick
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
..
iforce Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
a3d.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
adafruit-seesaw.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adc-joystick.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adi.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
amijoy.c
analog.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
as5011.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
cobra.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
db9.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
fsia6b.c
gamecon.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
gf2k.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
grip_mp.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
grip.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
guillemot.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
interact.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
joydump.c
Kconfig
magellan.c gcc-15: add '__nonstring' markers to byte arrays 2025-04-20 11:57:54 -07:00
Makefile
maplecontrol.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
n64joy.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
psxpad-spi.c
pxrc.c
qwiic-joystick.c
sensehat-joystick.c
sidewinder.c Input: joystick - use str_off_on() helper in sw_connect() 2025-01-14 13:41:43 -08:00
spaceball.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
spaceorb.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
stinger.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
tmdc.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
turbografx.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
twidjoy.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
walkera0701.c treewide: Convert new and leftover hrtimer_init() users 2025-04-05 10:30:17 +02:00
warrior.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00
xpad.c Input: xpad - rename QH controller to Legion Go S 2025-02-25 08:10:23 -08:00
zhenhua.c Input: joystick - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:43 -07:00