Thread (26 messages) 26 messages, 3 authors, 2021-12-22

Re: [PATCH v3 0/9] backlight: qcom-wled: fix and solidify handling of enabled-strings

From: Daniel Thompson <hidden>
Date: 2021-11-16 12:10:02
Also in: dri-devel, linux-arm-msm, linux-devicetree, lkml, phone-devel

Hi Lee

On Mon, Nov 15, 2021 at 09:34:50PM +0100, Marijn Suijten wrote:
This patchset fixes WLED's handling of enabled-strings: besides some
cleanup it is now actually possible to specify a non-contiguous array of
enabled strings (not necessarily starting at zero) and the values from
DT are now validated to prevent possible unexpected out-of-bounds
register and array element accesses.
Off-by-one mistakes in the maximum number of strings, also causing
out-of-bounds access, have been addressed as well.
They have arrived piecemeal (during v1, v2 and v3) but all patches on
the set should now have my R-b: attached to them.


Daniel.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help