Files
Alexander Grund 62aac9e967 leds: leds-qpnp: Fix uninitialized local variable
rgb_blink_store searches through rgb_sync->led_data for a valid entry
and bails out if none was found, i.e. `!led`.
However that variable is not set to NULL before the loop and might point
to random memory.
Fix by setting it to NULL in the declaration.

Change-Id: Ideb16c47defc6a5fd466d96a2a854ad83acf3651
2024-02-08 13:13:33 +00:00
..