]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: bitrev32 returns u32
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 6 Nov 2019 15:02:56 +0000 (16:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:22:55 +0000 (21:22 -0800)
commitd465beb837c8794d73bd02d6c3428d40e5ed80dd
treea952f2df28d83f97e5ac185f056664a0b0b1b6cd
parent58ce41ce4acb570f82d964f77ae4636f25fdc07b
net: stmmac: xgmac: bitrev32 returns u32

The bitrev32 function returns an u32 var, not an int. Fix it.

Fixes: 94d143505259 ("net: stmmac: xgmac: Fix XGMAC selftests")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c