Skip to content

Commit 6fb6e63

Browse files
lunndavem330
authored andcommitted
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: 2defda1 ("net: dsa: mv88e6xxx: Add support for SERDES on ports 2-8 for 6390X") Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 146820c commit 6fb6e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/mv88e6xxx/serdes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ int mv88e6390_serdes_irq_setup(struct mv88e6xxx_chip *chip, int port)
664664
if (port < 9)
665665
return 0;
666666

667-
return mv88e6390_serdes_irq_setup(chip, port);
667+
return mv88e6390x_serdes_irq_setup(chip, port);
668668
}
669669

670670
void mv88e6390x_serdes_irq_free(struct mv88e6xxx_chip *chip, int port)

0 commit comments

Comments
 (0)