Thread (4 messages) flat view 4 messages, 4 authors, 19d ago

Re: [PATCH] net: renesas: rswitch-main: fix runtime PM cleanup

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-08-18 15:00:46
Also in: linux-renesas-soc, lkml

On Tue, Aug 18, 2026 at 04:41:35PM +0400, Jiawen Liu wrote:
quoted hunk ↗ jump to hunk
From: jiawen <redacted>

Update renesas_eth_sw_probe() for the confirmed driver lifecycle defect.

Keep the change limited to the concrete operation shown in the final
patch.

Signed-off-by: jiawen <redacted>
---
diff --git a/drivers/net/ethernet/renesas/rswitch_main.c b/drivers/net/ethernet/renesas/rswitch_main.c
--- a/drivers/net/ethernet/renesas/rswitch_main.c
+++ b/drivers/net/ethernet/renesas/rswitch_main.c
@@ -2123,6 +2123,8 @@
 	{ /* Sentinel */ }
 };
 
+static void rswitch_deinit(struct rswitch_private *priv);
+
Please don't add forward references. Add a patch which first moves
this function earlier. Then fix the issue.

    Andrew

---
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help