mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 06:32:50 +00:00
d356dbe23f
Currently the check for the u16 variable val being less than zero is
always false because val is unsigned. Fix this by using the int
variable for the assignment and less than zero check.
Addresses-Coverity: ("Unsigned compared against 0")
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pcs-lynx.c | ||
pcs-xpcs-nxp.c | ||
pcs-xpcs.c | ||
pcs-xpcs.h |