usb: xhci: exynos: variable node should be signed
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Tue, 30 Sep 2025 10:34:44 +0000 (11:34 +0100)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Tue, 28 Oct 2025 15:33:15 +0000 (16:33 +0100)
commitadcec085e0dd3e399e6ee5ab5a7dd0e3cd192316
treeceedb28c6efbce9ce809b1b60e37bcb4d839ef7d
parentdd01b0541be38894c05f0dad2dad135ef1a9da6b
usb: xhci: 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>
drivers/usb/host/xhci-exynos5.c