From: Andrew Lunn <[email protected]>
Date: Sat, 20 Feb 2016 00:35:29 +0100

> commit 2b2427d06426 ("phy: micrel: Add ethtool statistics counters")
> from Dec 30, 2015, leads to the following static checker
> warning:
> 
>         drivers/net/phy/micrel.c:609 kszphy_get_stat()
>         warn: unsigned 'val' is never less than zero.
 ...
> The same problem exists in the Marvell driver. Fix both.
> 
> Fixes: 2b2427d06426 ("phy: micrel: Add ethtool statistics counters")
> Reported-by: Dan Carpenter <[email protected]>
> Reported-by: Julia.Lawall <[email protected]>
> Signed-off-by: Andrew Lunn <[email protected]>

Applied, thanks.

Reply via email to