Re: (subset) [PATCH] leds: qcom-lpg: Check for array overflow when selecting the high resolution
From: Lee Jones
Date: Fri Mar 06 2026 - 07:04:18 EST
On Thu, 19 Feb 2026 15:34:35 +0100, Greg Kroah-Hartman wrote:
> When selecting the high resolution values from the array, FIELD_GET() is
> used to pull from a 3 bit register, yet the array being indexed has only
> 5 values in it. Odds are the hardware is sane, but just to be safe,
> properly check before just overflowing and reading random data and then
> setting up chip values based on that.
>
>
> [...]
Applied, thanks!
[1/1] leds: qcom-lpg: Check for array overflow when selecting the high resolution
commit: 292aeaef0a0c3aa6f32c9e12d77503bd348c0e7a
--
Lee Jones [李琼斯]