[U-Boot] [PATCH] pci_ep: Fix Coverity warning

Tom Rini trini at konsulko.com
Thu Aug 8 03:16:19 UTC 2019


On Wed, Jul 31, 2019 at 11:04:26AM +0300, Ramon Fried wrote:

> Fix the following Coverity warning:
> CID 244086:  Incorrect expression  (BAD_COMPARE)
> Comparing pointer "ep_bar" against NULL using anything besides == or
> is likely to be incorrect.
> 
> Fixes: 914026d25848 ("drivers: pci_ep: Introduce UCLASS_PCI_EP uclass")
> 
> Signed-off-by: Ramon Fried <rfried.dev at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190807/1eb7e0f1/attachment.sig>


More information about the U-Boot mailing list