aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2017-09-21 13:27:02 +0200
committerDavid S. Miller <[email protected]>2017-09-21 20:35:17 -0700
commit059fbe8b5171960bd5c2371bb327ac18733773de (patch)
treeadd2af8a38802b033c43b16a5ea68c7b170f6749 /tools/perf/scripts/python/export-to-postgresql.py
parent5d6b66c031ed040c6eeedbc0b0477511edcbfa1b (diff)
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions