Re: (subset) [PATCH v2] backlight: mp3309c: fix uninitialized local variable

From: Lee Jones
Date: Fri Dec 01 2023 - 06:24:54 EST


On Wed, 29 Nov 2023 17:45:14 +0100, Flavio Suligoi wrote:
> In the function "pm3309c_parse_dt_node", when the dimming analog control
> mode (by I2C messages) is enabled, the local variable "prop_levels" is
> tested without any initialization, as indicated by the following smatch
> warning:
>
> drivers/video/backlight/mp3309c.c:279 pm3309c_parse_dt_node() error: uninitialized symbol 'prop_levels'.
>
> [...]

Applied, thanks!

[1/1] backlight: mp3309c: fix uninitialized local variable
commit: ab47505ce45b869ab649024dc932e981fcdd6e5f

--
Lee Jones [李琼斯]