mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-31 08:11:17 +00:00
As per @KanjiMonster comment: st1202_dt_init() calls devm_led_classdev_register_ext() before the internal data structures are properly setup, so the leds become visible to user space while being partially initialized, leading to a window where trying to access them causes a NULL pointer access. Move devm_led_classdev_register_ext() to the last thing to happen during initialization. Signed-off-by: Manuel Fombuena <fombuena@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17543 Signed-off-by: Robert Marko <robimarko@gmail.com> |
||
|---|---|---|
| .. | ||
| backport-6.6 | ||
| files | ||
| hack-6.6 | ||
| image | ||
| other-files | ||
| pending-6.6 | ||
| config-6.6 | ||
| config-filter | ||
| PATCHES | ||