Thread (3 messages) 3 messages, 3 authors, 2023-12-01

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

From: Lee Jones <lee@kernel.org>
Date: 2023-12-01 11:24:54
Also in: dri-devel, lkml

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 [李琼斯]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help