Message ID | 20211115203459.1634079-1-marijn.suijten@somainline.org (mailing list archive) |
---|---|
Headers | show |
Series | backlight: qcom-wled: fix and solidify handling of enabled-strings | expand |
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.
On Tue, 16 Nov 2021, Daniel Thompson wrote: > 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. I can see that. Nothing for you to worry about. I'll apply these when I conduct my next sweep, thanks.
On 2021-11-16 15:42:15, Lee Jones wrote: > On Tue, 16 Nov 2021, Daniel Thompson wrote: > > > 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. > > I can see that. Nothing for you to worry about. > > I'll apply these when I conduct my next sweep, thanks. Thanks for that Lee! Has the next sweep already passed by? Seems everyone is preparing for the 5.17 merge window but these patches haven't yet landed on the backlight tree [1]. I'd appreciate it if we can make them appear in the 5.17 window :) [1]: https://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git/ Thanks! - Marijn > -- > Lee Jones [李琼斯] > Senior Technical Lead - Developer Services > Linaro.org │ Open source software for Arm SoCs > Follow Linaro: Facebook | Twitter | Blog
On Wed, 22 Dec 2021, Marijn Suijten wrote: > On 2021-11-16 15:42:15, Lee Jones wrote: > > On Tue, 16 Nov 2021, Daniel Thompson wrote: > > > > > 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. > > > > I can see that. Nothing for you to worry about. > > > > I'll apply these when I conduct my next sweep, thanks. > > Thanks for that Lee! Has the next sweep already passed by? Seems > everyone is preparing for the 5.17 merge window but these patches > haven't yet landed on the backlight tree [1]. I'd appreciate it if we > can make them appear in the 5.17 window :) No need to panic. v5.17-rc1 isn't due to be cut for either 3.5 or 4.5 weeks.