public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Chenyuan Yang <chenyuan0y@gmail.com>
Cc: lee@kernel.org, lkundrak@v3.sk, linux-kernel@vger.kernel.org,
	zijie98@gmail.com
Subject: Re: [PATCH] mfd: ene-kb3930: Fix potential NULL pointer dereference
Date: Tue, 28 Jan 2025 08:10:21 +0100	[thread overview]
Message-ID: <da473c7e-934d-498b-a878-cb4438ede278@kernel.org> (raw)
In-Reply-To: <CALGdzup0W6vU4hy=Kdkh7syjqi4diZBBh9vJQjhxP2zH3YogUA@mail.gmail.com>

On 27/01/2025 20:45, Chenyuan Yang wrote:
> Hi Krzysztof,
> 
> This was caught by our static analysis tool because
> devm_gpiod_get_array_optional() can return a NULL pointer in
> low-memory situations. It's essentially the same scenario described

Don't top post.

So you did not reproduce it, did not test it, thus I suggest not to ping
us as we missed anything. Try to get this tested first.

Best regards,
Krzysztof

  reply	other threads:[~2025-01-28  7:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-20 19:07 [PATCH] mfd: ene-kb3930: Fix potential NULL pointer dereference Chenyuan Yang
2025-01-27 16:30 ` Chenyuan Yang
2025-01-27 17:43   ` Krzysztof Kozlowski
2025-01-27 19:45     ` Chenyuan Yang
2025-01-28  7:10       ` Krzysztof Kozlowski [this message]
2025-02-10 17:33 ` Lee Jones
2025-02-10 23:47   ` Chenyuan Yang
2025-02-11 15:06     ` Lee Jones
2025-02-13  2:14       ` Chenyuan Yang

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=da473c7e-934d-498b-a878-cb4438ede278@kernel.org \
    --to=krzk@kernel.org \
    --cc=chenyuan0y@gmail.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkundrak@v3.sk \
    --cc=zijie98@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