From: Tom Rini Date: Thu, 17 Sep 2020 09:54:14 -0400 Subject: [PATCH] include: phy: fix NULL pointer check in phy_write() In-Reply-To: <20200818003108.30061-1-thiruan@linux.microsoft.com> References: <20200818003108.30061-1-thiruan@linux.microsoft.com> Message-ID: <20200917135414.GG14816@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Michal Simek 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: