linux/drivers/iio/magnetometer
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
..
Kconfig iio: magnetometer: si7210: add driver for Si7210 2025-02-08 15:16:28 +00:00
Makefile iio: magnetometer: si7210: add driver for Si7210 2025-02-08 15:16:28 +00:00
af8133j.c iio: magnetometer: af8133j: Drop unneeded assignment for cache_type 2025-02-08 15:16:29 +00:00
ak8974.c gcc-15: add '__nonstring' markers to byte arrays 2025-04-20 11:57:54 -07:00
ak8975.c iio: magnetometer: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
als31300.c iio: magnetometer: add Allegro MicroSystems ALS31300 3-D Linear Hall Effect driver 2024-11-03 20:33:44 +00:00
bmc150_magn.c iio: magnetometer: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
bmc150_magn.h
bmc150_magn_i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
bmc150_magn_spi.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
hid-sensor-magn-3d.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
hmc5843.h iio: magnetometer: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
hmc5843_core.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
hmc5843_i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
hmc5843_spi.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
mag3110.c iio: magnetometer: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
mmc35240.c iio: magnetometer: mmc35240: make use of regmap_set_bits() 2024-06-25 21:04:47 +01:00
rm3100-core.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
rm3100-i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
rm3100-spi.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
rm3100.h
si7210.c iio: magnetometer: si7210: add driver for Si7210 2025-02-08 15:16:28 +00:00
st_magn.h iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
st_magn_buffer.c
st_magn_core.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
st_magn_i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
st_magn_spi.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
tmag5273.c iio: tmag5273: Remove some unused field in struct tmag5273_data 2024-05-27 09:48:56 +01:00
yamaha-yas530.c IIO: 1st set of new device support, features and cleanup for 6.14 2025-01-12 13:45:22 +01:00