From: Markus Elfring <Markus.Elfring@web.de>
To: vulab@iscas.ac.cn, linux-input@vger.kernel.org,
linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Cc: LKML <linux-kernel@vger.kernel.org>,
Angelo Gioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Gary Bisson <bisson.gary@gmail.com>,
Julien Massot <julien.massot@collabora.com>,
Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>,
Matthias Brugger <matthias.bgg@gmail.com>
Subject: Re: [PATCH] input: mtk-pmic-keys: Fix potential NULL pointer dereference in probe()
Date: Wed, 10 Dec 2025 15:11:03 +0100 [thread overview]
Message-ID: <316d6242-fbfa-4c9e-addd-e9f76facf9d7@web.de> (raw)
In-Reply-To: <20251210030013.913-1-vulab@iscas.ac.cn>
> of_match_device() may return NULL when the device node
> does not match any entry in the driver's match table.
> The current code dereferences of_id->data unconditionally,
> which can lead to a NULL pointer dereference.
…
Under which circumstances would you get into the mood to take more desirable
word wrap preferences better into account?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.18#n658
Regards,
Markus
prev parent reply other threads:[~2025-12-10 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-10 3:00 [PATCH] input: mtk-pmic-keys: Fix potential NULL pointer dereference in probe() Haotian Zhang
2025-12-10 4:48 ` Dmitry Torokhov
2025-12-10 14:11 ` Markus Elfring [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=316d6242-fbfa-4c9e-addd-e9f76facf9d7@web.de \
--to=markus.elfring@web.de \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bisson.gary@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=julien.massot@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=louisalexis.eyraud@collabora.com \
--cc=matthias.bgg@gmail.com \
--cc=vulab@iscas.ac.cn \
/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).