[U-Boot] [U-Boot, 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

Tom Rini trini at konsulko.com
Thu Apr 21 13:23:16 CEST 2016


On Tue, Apr 12, 2016 at 03:11:23PM -0400, Tom Rini wrote:

> If get_dev_addr fails it will return FDT_ADDR_T_NONE and:
> >>>     "priv->pid == 4294967295U" is always false regardless of the values of its operands. This occurs as the logical operand of if.
> 
> Cc: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
> Reported-by: Coverity (CID: 143913)
> Signed-off-by: Tom Rini <trini at konsulko.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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160421/20ed5d78/attachment.sig>


More information about the U-Boot mailing list