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 |