From: Tom Rini Date: Thu, 21 Apr 2016 07:23:16 -0400 Subject: [U-Boot] [U-Boot, 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t In-Reply-To: <1460488284-26713-2-git-send-email-trini@konsulko.com> References: <1460488284-26713-2-git-send-email-trini@konsulko.com> Message-ID: <20160421112316.GL3732@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 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 > Reported-by: Coverity (CID: 143913) > Signed-off-by: Tom Rini 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: