]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Fix serdes irq setup going recursive
authorAndrew Lunn <andrew@lunn.ch>
Sun, 27 Jan 2019 21:48:00 +0000 (22:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 07:19:19 +0000 (23:19 -0800)
commit373cfbea70663ae4f7983b9ee6db9089778811b8
treebf170982b6b360a4af19f8fdd83d2e33e37597a2
parent96f7e8a97d110aba9897ee567b8b01533642d2c0
net: dsa: mv88e6xxx: Fix serdes irq setup going recursive

Duec to a typo, mv88e6390_serdes_irq_setup() calls itself, rather than
mv88e6390x_serdes_irq_setup(). It then blows the stack, and shortly
after the machine blows up.

Fixes: d05681980810 ("net: dsa: mv88e6xxx: Add support for SERDES on ports 2-8 for 6390X")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/serdes.c