Geert Uytterhoeven 059fbe8b51 net: phy: Fix truncation of large IRQ numbers in phy_attached_print()
Given NR_IRQS is 2048 on sparc64, and even 32784 on alpha, 3 digits is
not enough to represent interrupt numbers on all architectures.  Hence
PHY interrupt numbers may be truncated during printing.

Increase the buffer size from 4 to 8 bytes to fix this.

Fixes: 5e369aefdce4818c ("net: stmmac: Delete dead code for MDIO registration")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-21 20:35:17 -07:00
..
2017-08-13 20:12:23 -07:00
2017-08-19 17:13:41 -07:00
2017-09-08 10:09:57 -07:00
2017-08-24 09:57:28 +02:00
2017-08-22 14:25:50 -07:00
2017-08-16 11:01:57 -07:00
2017-09-05 14:26:41 -07:00
2017-09-15 14:22:21 -07:00