Re: [PATCH RESEND 0/4] Ensure all backlight drivers zero the properties structure

From: Luca Weiss
Date: Tue Feb 20 2024 - 11:48:27 EST


On Dienstag, 20. Februar 2024 16:35:23 CET Daniel Thompson wrote:
> [Sorry for the RESEND so soon... embarrassingly I got Lee's e-mail
> address wrong the first time!]
>
> Luca Weiss recently shared a patch to zero the properties structure for
> lm3630a... and shortly afterwards I realized I should probably scan for
> a similar class of errors in other drivers.

Thanks for fixing the other drivers! Was definitely a fun one to debug :)

>
> Results follow in the next four patches (they could all be one patch but
> for the fact there are different Fixes: tags)!
>
> Daniel Thompson (4):
> backlight: da9052: Fully initialize backlight_properties during probe
> backlight: lm3639: Fully initialize backlight_properties during probe
> backlight: lp8788: Fully initialize backlight_properties during probe
> backlight: mp3309c: Fully initialize backlight_properties during probe
>
> drivers/video/backlight/da9052_bl.c | 1 +
> drivers/video/backlight/lm3639_bl.c | 1 +
> drivers/video/backlight/lp8788_bl.c | 1 +
> drivers/video/backlight/mp3309c.c | 1 +
> 4 files changed, 4 insertions(+)
>
>
> base-commit: b401b621758e46812da61fa58a67c3fd8d91de0d
> --
> 2.43.0
>
>