Re: [PATCH v3 1/9] backlight: qcom-wled: Validate enabled string indices in DT

2021-12-22 Thread Lee Jones
On Mon, 15 Nov 2021, 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 > Reviewed-by: AngeloG

[PATCH v3 1/9] backlight: qcom-wled: Validate enabled string indices in DT

2021-11-15 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 Reviewed-by: Daniel Thompson ---