Thread (3 messages) 3 messages, 3 authors, 4d ago

Re: [PATCH net] net: sxgbe: fix null pointer dereference in probe error path

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-07-17 16:11:19

On Fri, Jul 17, 2026 at 05:14:23PM +0800, Chenguang Zhao wrote:
From: Chenguang Zhao <redacted>

The platform drvdata is not set until all IRQs have been mapped, so the
local net_device pointer is NULL when IRQ mapping fails. Remove the device
allocated by sxgbe_drv_probe() through priv instead.

Fixes: 1edb9ca69e8a ("net: sxgbe: add basic framework for Samsung 10Gb ethernet driver")
Signed-off-by: Chenguang Zhao <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help