Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 0d472c69 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

stmmac: dwmac-loongson: Fix unsigned comparison to zero

plat->phy_interface is unsigned integer, so the condition
can't be less than zero and the warning will never printed.

Fixes: 30bba69d

 ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ccd27f05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment