From: Tom Rini <trini@konsulko.com>
To: Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: joe.hershberger@ni.com, rfried.dev@gmail.com, u-boot@lists.denx.de
Subject: Re: [PATCH] drivers: net: fsl_ls_mdio: prevent a NULL pointer dereference
Date: Fri, 3 Feb 2023 13:20:37 -0500 [thread overview]
Message-ID: <Y91QdRcP4FKGLrQp@bill-the-cat> (raw)
In-Reply-To: <20230105150948.368221-1-ioana.ciornei@nxp.com>
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
On Thu, Jan 05, 2023 at 05:09:48PM +0200, Ioana Ciornei wrote:
> Prevent a NULL pointer dereference in the probe path by checking the
> return valud of dev_read_addr_ptr() against NULL.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2023-02-03 18:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 15:09 [PATCH] drivers: net: fsl_ls_mdio: prevent a NULL pointer dereference Ioana Ciornei
2023-01-10 17:09 ` Ramon Fried
2023-02-03 18:20 ` Tom Rini [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=Y91QdRcP4FKGLrQp@bill-the-cat \
--to=trini@konsulko.com \
--cc=ioana.ciornei@nxp.com \
--cc=joe.hershberger@ni.com \
--cc=rfried.dev@gmail.com \
--cc=u-boot@lists.denx.de \
/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