Re: (subset) [PATCH v3] leds: is31fl32xx: Fix NULL pointer dereference when binding via I2C ID table
From: Lee Jones
Date: Wed Oct 28 2026 - 11:05:01 EST
On Sun, 18 Oct 2026 15:50:36 -0700, Rosen Penev wrote:
> If the device binds via the I2C ID table (e.g. sysfs new_device, a
> software node, or a firmware node without a matching compatible),
> device_get_match_data() in is31fl32xx_probe() returns NULL, since only
> the OF match table carries the chip definition. is31fl32xx_parse_dt()
> then dereferences cdef->output_frequency_setting_reg and
> is31fl32xx_parse_child_dt() dereferences cdef->channels, causing a
> kernel oops.
>
> [...]
Applied, thanks!
[1/1] leds: is31fl32xx: Fix NULL pointer dereference when binding via I2C ID table
commit: add6cef9f655ba85155c1afc554c3856ab164660
--
Lee Jones [李琼斯]