]> asedeno.scripts.mit.edu Git - linux.git/commit
net: stmmac: xgmac: Reinitialize correctly a variable
authorJose Abreu <Jose.Abreu@synopsys.com>
Tue, 10 Sep 2019 14:41:24 +0000 (16:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2019 08:21:34 +0000 (09:21 +0100)
commitafdf26ab3c9b7bc13792fd55fc5f2878923fdf9d
tree4953cc04ee84f497cf354a2d73d53965620594d4
parentc1be0022df0dae7b2012231eca2385970382e533
net: stmmac: xgmac: Reinitialize correctly a variable

'value' was being or'ed with a value from another register. This is a
typo and could cause new written value to be wrong. Fix it.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c