]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: aquantia: fix unsigned compared against 0
authorCosmin-Florin Aluchenesei <aluchenesei.cosmin-florin@nxp.com>
Wed, 21 Jul 2021 16:13:11 +0000 (19:13 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Thu, 22 Jul 2021 19:15:33 +0000 (22:15 +0300)
commitb9b7b5e49c2635eeb0b53c54fd2db51626de467d
tree3c51d9c21fced3fa786ad1cb079ec0da608f3ae2
parent79d191efa10b1b3822084eb2008b7917b3c4700f
drivers: net: aquantia: fix unsigned compared against 0

Change the reg variable to not be unsigned so that we not get into an
unsigned compared against 0.

Signed-off-by: Cosmin-Florin Aluchenesei <aluchenesei.cosmin-florin@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/phy/aquantia.c