[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b507e17b-da8b-4616-b0d0-af9995bf8fc7@lunn.ch>
Date: Mon, 29 Jan 2024 15:29:17 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Andre Werner <andre.werner@...tec-electronic.com>
Cc: hkallweit1@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux@...linux.org.uk,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [net-next v5 1/2] net: phy: phy_device: Prevent nullptr
exceptions on ISR
On Mon, Jan 29, 2024 at 02:55:04PM +0100, Andre Werner wrote:
> If phydev->irq is set unconditionally, check
> for valid interrupt handler or fall back to polling mode to prevent
> nullptr exceptions in interrupt service routine.
>
> Signed-off-by: Andre Werner <andre.werner@...tec-electronic.com>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
Nitpick:
Your Signed-off-by: should go last.
Its not enough to need a respin, but please keep this in mind for
future patches.
Andrew
Powered by blists - more mailing lists