usb: ehci: exynos: variable node should be signed
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Mon, 29 Sep 2025 16:53:11 +0000 (17:53 +0100)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Tue, 28 Oct 2025 15:33:15 +0000 (16:33 +0100)
commite41e6feb3d3b33f0793df6a1d9da20c8096a346e
tree0f297c6c2e334d929f18d2bb72e55d28196f0c89
parent23987e10905146def3ab61e55ec912c6e742efdc
usb: ehci: exynos: variable node should be signed

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@linaro.org>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
drivers/usb/host/ehci-exynos.c