aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2017-09-21 11:27:02 +0000
committerDavid S. Miller <[email protected]>2017-09-22 03:35:17 +0000
commit059fbe8b5171960bd5c2371bb327ac18733773de (patch)
treeadd2af8a38802b033c43b16a5ea68c7b170f6749 /fs/proc/array.c
parentMerge branch 'smc-bug-fixes' (diff)
downloadkernel-059fbe8b5171960bd5c2371bb327ac18733773de.tar.gz
kernel-059fbe8b5171960bd5c2371bb327ac18733773de.zip
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions