On 10 May 2017 at 13:20, Tom Rini <[email protected]> wrote:
>
> We declare that gpio_base (which is the base for counting gpios, not an
> address) is unsigned.  Therefore the comparison with >= 0 is always
> true.  As the desire is to allow for this base number to be 0, we can
> just drop this check.  Reported by clang-3.8.
>
> Cc: Simon Glass <[email protected]>
> Signed-off-by: Tom Rini <[email protected]>
> ---
>  drivers/gpio/gpio-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to