Re: [PATCH net-next 2/4] net: phy: dp83869: Set opmode from straps

From: Jakub Kicinski
Date: Tue May 19 2020 - 12:58:22 EST


On Tue, 19 May 2020 09:18:11 -0500 Dan Murphy wrote:
> If the op-mode for the device is not set in the device tree then set
> the strapped op-mode and store it for later configuration.
>
> Signed-off-by: Dan Murphy <dmurphy@xxxxxx>

../drivers/net/phy/dp83869.c: In function0 dp83869_set_strapped_mode:
../drivers/net/phy/dp83869.c:171:10: warning: comparison is always false due to limited range of data type [-Wtype-limits]
171 | if (val < 0)
| ^