summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-01-27 22:48:00 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-27 23:19:19 -0800
commit6fb6e6371f8c463020a41cc0ed1915e140219c3d (patch)
treebf170982b6b360a4af19f8fdd83d2e33e37597a2 /drivers/net/dsa/mv88e6xxx
parent146820cc240f4389cf33481c058d9493aef95e25 (diff)
downloadlinux-stable-6fb6e6371f8c463020a41cc0ed1915e140219c3d.tar.gz
linux-stable-6fb6e6371f8c463020a41cc0ed1915e140219c3d.tar.bz2
linux-stable-6fb6e6371f8c463020a41cc0ed1915e140219c3d.zip
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: 2defda1f4b91 ("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>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx')
-rw-r--r--drivers/net/dsa/mv88e6xxx/serdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/serdes.c b/drivers/net/dsa/mv88e6xxx/serdes.c
index 2caa8c8b4b55..1bfc5ff8d81d 100644
--- a/drivers/net/dsa/mv88e6xxx/serdes.c
+++ b/drivers/net/dsa/mv88e6xxx/serdes.c
@@ -664,7 +664,7 @@ int mv88e6390_serdes_irq_setup(struct mv88e6xxx_chip *chip, int port)
if (port < 9)
return 0;
- return mv88e6390_serdes_irq_setup(chip, port);
+ return mv88e6390x_serdes_irq_setup(chip, port);
}
void mv88e6390x_serdes_irq_free(struct mv88e6xxx_chip *chip, int port)