From: Daniel Thompson <daniel@riscstar.com>
To: Haoyu Li <lihaoyu499@gmail.com>
Cc: danielt@kernel.org, chenyuan0y@gmail.com, deller@gmx.de,
dri-devel@lists.freedesktop.org, jani.nikula@linux.intel.com,
jingoohan1@gmail.com, lee@kernel.org,
linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org,
robh@kernel.org, stable@vger.kernel.org, zichenxie0106@gmail.com
Subject: Re: [PATCH] drivers: video: backlight: Fix NULL Pointer Dereference in backlight_device_register()
Date: Tue, 1 Apr 2025 15:29:45 +0100 [thread overview]
Message-ID: <Z-v4WansLWJtv9CV@aspen.lan> (raw)
In-Reply-To: <20250219122950.7416-1-lihaoyu499@gmail.com>
Hi Haoyu
On Wed, Feb 19, 2025 at 08:29:50PM +0800, Haoyu Li wrote:
> As per Jani and Daniel's feedback, I have updated the patch so that
> the `wled->name` null check now occurs in the `wled_configure`
> function, right after the `devm_kasprintf` callsite. This should
> resolve the issue.
I'm afraid this patch got swamped in my mailbox and I missed it.
Worse, we've just been discussing and reviewing a patch for the same
issue from another developer:
https://lore.kernel.org/all/20250401091647.22784-1-bsdhenrymartin@gmail.com/
So, I just wanted to acknowlege the mistake. Sorry.
Daniel.
prev parent reply other threads:[~2025-04-01 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-30 14:52 [PATCH] drivers: video: backlight: Fix NULL Pointer Dereference in backlight_device_register() Haoyu Li
2025-02-03 13:21 ` Jani Nikula
2025-02-13 21:07 ` Daniel Thompson
2025-02-19 12:29 ` Haoyu Li
2025-04-01 14:29 ` Daniel Thompson [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=Z-v4WansLWJtv9CV@aspen.lan \
--to=daniel@riscstar.com \
--cc=chenyuan0y@gmail.com \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=jingoohan1@gmail.com \
--cc=lee@kernel.org \
--cc=lihaoyu499@gmail.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=stable@vger.kernel.org \
--cc=zichenxie0106@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;
as well as URLs for NNTP newsgroup(s).