[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170921.203619.1150984231295351664.davem@davemloft.net>
Date: Thu, 21 Sep 2017 20:36:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: geert+renesas@...der.be
Cc: andrew@...n.ch, f.fainelli@...il.com, romain.perier@...labora.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: phy: Fix truncation of large IRQ numbers in
phy_attached_print()
From: Geert Uytterhoeven <geert+renesas@...der.be>
Date: Thu, 21 Sep 2017 13:27:02 +0200
> 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@...der.be>
Applied.
Powered by blists - more mailing lists