[PATCH] include: phy: fix NULL pointer check in phy_write()
Tom Rini
trini at konsulko.com
Thu Sep 17 15:54:14 CEST 2020
On Mon, Aug 17, 2020 at 05:31:08PM -0700, Thirupathaiah Annapureddy wrote:
> phy_write() uses bus->write() instead of bus->read(). This means NULL
> pointer pre-check needs to happen on bus->write instead of bus->read.
>
> Signed-off-by: Thirupathaiah Annapureddy <thiruan at linux.microsoft.com>
> Reviewed-by: Michal Simek <michal.simek at xilinx.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200917/3076d1f9/attachment.sig>
More information about the U-Boot
mailing list