[PATCH] usb: ehci: exynos: variable node should be signed
Marek Vasut
marek.vasut at mailbox.org
Tue Sep 30 01:04:32 CEST 2025
On 9/29/25 6:53 PM, Andrew Goodbody wrote:
> THe variable node is assigned to the return value of a function that
> returns an int. It is tested for being negative and then passed as an
> argument to a function that takes an int. So 'node' should not be
> declared as unsigned. Correct it.
>
> This issue was found by Smatch.
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
Reviewed-by: Marek Vasut <marek.vasut at mailbox.org>
More information about the U-Boot
mailing list