Re: [RESEND PATCH v2 01/13] backlight: qcom-wled: Validate enabled string indices in DT

2021-11-12 Thread Daniel Thompson
On Fri, Nov 12, 2021 at 01:26:54AM +0100, Marijn Suijten wrote: > The strings passed in DT may possibly cause out-of-bounds register > accesses and should be validated before use. > > Fixes: 775d2ffb4af6 ("backlight: qcom-wled: Restructure the driver for WLED3") > Signed-off-by: Marijn Suijten >

[RESEND PATCH v2 01/13] backlight: qcom-wled: Validate enabled string indices in DT

2021-11-11 Thread Marijn Suijten
The strings passed in DT may possibly cause out-of-bounds register accesses and should be validated before use. Fixes: 775d2ffb4af6 ("backlight: qcom-wled: Restructure the driver for WLED3") Signed-off-by: Marijn Suijten Reviewed-by: AngeloGioacchino Del Regno --- drivers/video/backlight/qcom-