public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Chenyuan Yang <chenyuan0y@gmail.com>
Cc: lkundrak@v3.sk, linux-kernel@vger.kernel.org, zzjas@gmail.com
Subject: Re: [PATCH v2] mfd: ene-kb3930: Fix potential NULL pointer dereference
Date: Thu, 20 Feb 2025 14:58:25 +0000	[thread overview]
Message-ID: <20250220145825.GB778229@google.com> (raw)
In-Reply-To: <20250213022509.2154603-1-chenyuan0y@gmail.com>

On Wed, 12 Feb 2025, Chenyuan Yang wrote:

> The off_gpios could be NULL. Add missing check in the kb3930_probe().
> This is similar to the issue fixed in commit b1ba8bcb2d1f
> ("backlight: hx8357: Fix potential NULL pointer dereference").
> 
> Fixes: ede6b2d1dfc0 ("mfd: ene-kb3930: Add driver for ENE KB3930 Embedded Controller")
> Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com>
> Suggested-by: Lee Jones <lee@kernel.org>
> ---
>  drivers/mfd/ene-kb3930.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Please submit one more time with the following line above the tags:

Cc: stable@vger.kernel.org

-- 
Lee Jones [李琼斯]

      reply	other threads:[~2025-02-20 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-13  2:25 [PATCH v2] mfd: ene-kb3930: Fix potential NULL pointer dereference Chenyuan Yang
2025-02-20 14:58 ` 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=20250220145825.GB778229@google.com \
    --to=lee@kernel.org \
    --cc=chenyuan0y@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkundrak@v3.sk \
    --cc=zzjas@gmail.com \
    /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