mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: linux-leds@vger.kernel.org,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, Lee Jones <lee@kernel.org>,
	 Pavel Machek <pavel@kernel.org>, stable <stable@kernel.org>
Subject: Re: (subset) [PATCH] leds: qcom-lpg: Check for array overflow when selecting the high resolution
Date: Fri, 06 Mar 2026 11:59:38 +0000	[thread overview]
Message-ID: <177279837896.964017.15766501896548575720.b4-ty@kernel.org> (raw)
In-Reply-To: <2026021934-nearby-playroom-036b@gregkh>

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 [李琼斯]


      reply	other threads:[~2026-03-06 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-19 14:34 Greg Kroah-Hartman
2026-03-06 11:59 ` Lee Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177279837896.964017.15766501896548575720.b4-ty@kernel.org \
    --to=lee@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@kernel.org \
    --cc=stable@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®