From: Bartosz Golaszewski bartosz.golaszewski@linaro.org
On Tue, 03 Dec 2024 22:14:51 +0800, Haoyu Li wrote:
With the new __counted_by annocation in ljca_gpio_packet, the "num" struct member must be set before accessing the "item" array. Failing to do so will trigger a runtime warning when enabling CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE.
Fixes: 1034cc423f1b ("gpio: update Intel LJCA USB GPIO driver")
[...]
Applied, thanks!
[1/1] drivers: gpio: gpio-ljca: Initialize num before accessing item in ljca_gpio_config commit: 963deccd17d4e538a8bafb1617803746efe910ef
Best regards,