[U-Boot] [PATCH 1/1] usb: xhci-exynos5: correct error checking

Bin Meng bmeng.cn at gmail.com
Mon Mar 19 03:00:43 UTC 2018


On Sun, Mar 18, 2018 at 8:51 PM, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> If fdtdec_next_compatible_subnode() fails it returns a negative value.
> The check (node <= 0) cannot identify this if node is unsigned.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/usb/host/xhci-exynos5.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list