From: Markus Elfring <Markus.Elfring@web.de>
To: Yang Zi <2959243019@qq.com>,
kernel-janitors@vger.kernel.org,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] regulator: max8649: Fix NULL pointer dereference in probe
Date: Wed, 26 Aug 2026 20:36:29 +0200 [thread overview]
Message-ID: <29d4c995-4194-49b6-8994-eba662b73b56@web.de> (raw)
In-Reply-To: <tencent_87EA54368697A49844A89DF7CD19CD8C6C06@qq.com>
…
> Add a check and return -EINVAL when pdata is NULL.
How do you think about to perform this data processing
directly after the variable assignment?
Regards,
Markus
next prev parent reply other threads:[~2026-08-26 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 9:01 Yang Zi
2026-08-26 13:34 ` Mark Brown
2026-08-26 18:36 ` Markus Elfring [this message]
2026-08-26 18:39 ` Mark Brown
2026-08-26 18:58 ` Robert P. J. Day
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=29d4c995-4194-49b6-8994-eba662b73b56@web.de \
--to=markus.elfring@web.de \
--cc=2959243019@qq.com \
--cc=broonie@kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.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®