Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736802
| From | Andrew Lunn <andrew@lunn.ch> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: phy: Fix truncation of large IRQ numbers in phy_attached_print() |
| Date | 2017-09-21 17:50 +0200 |
| Message-ID | <usbTI-2TP-29@gated-at.bofh.it> (permalink) |
| References | <us7Q7-kv-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Sep 21, 2017 at 01:27:02PM +0200, Geert Uytterhoeven wrote:
> 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>
Andrew
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] net: phy: Fix truncation of large IRQ numbers in phy_attached_print() Geert Uytterhoeven <geert+renesas@glider.be> - 2017-09-21 13:30 +0200 Re: [PATCH] net: phy: Fix truncation of large IRQ numbers in phy_attached_print() Andrew Lunn <andrew@lunn.ch> - 2017-09-21 17:50 +0200 Re: [PATCH] net: phy: Fix truncation of large IRQ numbers in phy_attached_print() David Miller <davem@davemloft.net> - 2017-09-22 05:40 +0200
csiph-web