From: Andrew Lunn <andrew@lunn.ch>
To: Andre Werner <andre.werner@systec-electronic.com>
Cc: hkallweit1@gmail.com, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC net-next v4 1/2] net: phy: phy_device: Prevent nullptr exceptions on ISR
Date: Sun, 21 Jan 2024 21:23:18 +0100 [thread overview]
Message-ID: <645d928b-cd8b-42d0-9f68-fb9b05769cfa@lunn.ch> (raw)
In-Reply-To: <20240121201511.8997-2-andre.werner@systec-electronic.com>
On Sun, Jan 21, 2024 at 08:54:48PM +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@systec-electronic.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
next prev parent reply other threads:[~2024-01-21 20:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-21 19:54 [RFC net-next v4 0/2] Prevent nullptr exceptions in ISR Andre Werner
2024-01-21 19:54 ` [RFC net-next v4 1/2] net: phy: phy_device: Prevent nullptr exceptions on ISR Andre Werner
2024-01-21 20:23 ` Andrew Lunn [this message]
2024-01-29 13:29 ` Andrew Lunn
2024-01-21 19:54 ` [RFC net-next v4 2/2] net: phy: adin1100: Add interrupt support for link change Andre Werner
2024-01-22 7:42 ` Horatiu Vultur
2024-01-29 12:51 ` Andre Werner
2024-01-29 13:28 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=645d928b-cd8b-42d0-9f68-fb9b05769cfa@lunn.ch \
--to=andrew@lunn.ch \
--cc=andre.werner@systec-electronic.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®