[U-Boot] common: mmc: unsigned char compared against 0

Tom Rini trini at konsulko.com
Sun Dec 6 23:06:35 CET 2015


On Wed, Nov 25, 2015 at 05:16:21PM +0800, Peng Fan wrote:

> "enable" is unsigned char type and its value will not be
> negative, so discard "enable < 0".
> 
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Cc: Diego Santa Cruz <Diego.SantaCruz at spinetix.com>
> Cc: Pantelis Antoniou <pantelis.antoniou at konsulko.com>
> Cc: Andrew Gabbasov <andrew_gabbasov at mentor.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151206/c0c0ab22/attachment.sig>


More information about the U-Boot mailing list