Messages in this thread | | | Subject | Re: [PATCH net] stmmac: dwmac-loongson: Fix unsigned comparison to zero | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 07 Jul 2021 20:51:04 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 7 Jul 2021 15:50:57 +0800 you wrote: > plat->phy_interface is unsigned integer, so the condition > can't be less than zero and the warning will never printed. > > Fixes: 30bba69d7db4 ("stmmac: pci: Add dwmac support for Loongson") > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-)
Here is the summary with links: - [net] stmmac: dwmac-loongson: Fix unsigned comparison to zero https://git.kernel.org/netdev/net/c/0d472c69c6a5
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |