]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: gmac5+: Fix missing return
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 10 Jan 2020 15:13:35 +0000 (16:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jan 2020 19:29:44 +0000 (11:29 -0800)
commit24128bc6cfdd60e73865b763d994c646f4499052
treea2973e5cdcf933d7e07212db76266d359bf5131f
parentfc08b9addc168bc46e18b9a6e63953d26e90e111
net: stmmac: gmac5+: Fix missing return

If FPE is supposed to be disabled we need to return after disabling it.

Fixes: 6fc0c6e877c2 ("net: stmmac: gmac5+: Add support for Frame Preemption")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac5.c