On Sat, 07 Oct 2023 15:10:42 +0200, Christian Marangi wrote:
GCC 13.2 complains about array subscript 17 is above array bounds of 'char[16]' with IFNAMSIZ set to 16.
The warning is correct but this scenario is impossible. set_device_name is called by device_name_store (store sysfs entry) and netdev_trig_activate.
[...]
Applied, thanks!
[1/1] leds: trigger: netdev: move size check in set_device_name commit: e0e29e434cdca9705eb420b3f26928444fa559f6
-- Lee Jones [李琼斯]