Thread View: linux.kernel.netdev
4 messages
4 total messages
Started by Wanhui Fu
Thu, 26 Nov 2026 11:28
[PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
Author: Wanhui Fu
Date: Thu, 26 Nov 2026 11:28
Date: Thu, 26 Nov 2026 11:28
24 lines
8940 bytes
8940 bytes
prestera_switchdev_handler_fini() is missed under label
err_fdb_init. Add it to complete the error handling.
Fixes: e1189d9a5fbe ("net: marvell: prestera: Add Switchdev driver implementation")
Signed-off-by: Wanhui Fu <fuwh1120@163.com>
---
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/marvell/prestera/prestera_switchdev.c b/drivers/net/ethernet/marvell/prestera/prestera_switchdev.c
index 2012d00fabec..55a99eafac2c 100644
--- a/drivers/net/ethernet/marvell/prestera/prestera_switchdev.c
+++ b/drivers/net/ethernet/marvell/prestera/prestera_switchdev.c
@@ -1899,6 +1899,7 @@ int prestera_switchdev_init(struct prestera_switch *sw)
return 0;
err_fdb_init:
+ prestera_switchdev_handler_fini(swdev);
err_swdev_init:
destroy_workqueue(swdev_wq);
err_alloc_wq:
--
2.25.1
Re: [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
Author: netdev-bot+sinfo
Date: Thu, 26 Nov 2026 11:32
Date: Thu, 26 Nov 2026 11:32
27 lines
8845 bytes
8845 bytes
Hi! This is an automated message. This series looks like a fix, but its commit messages seem to be missing some information: - How the issue was discovered, e.g. hit in production, hit during development, syzbot report, manual code inspection, LLM or static analysis tool scan. - Whether the issue was actually triggered, or is only theoretical (e.g. found by LLM and not proven at runtime). If it was triggered please include the symptoms, like the stack trace or kernel messages. - What hardware the change was tested on. For driver fixes please mention the device (and if relevant firmware version) used for testing, or say that the change was not tested on real hardware. Please do not repost the series just to address the above. Instead, reply to this email with the missing information, so that reviewers can take it into account. *IMPORTANT*: If you do repost (for other reasons) - please include the relevant info in the cover letter or commit messages. -- The evaluation is done by an LLM so it may be wrong, if you think that is the case please reply and explain.
Re: [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
Author: fuwh1120
Date: Thu, 26 Nov 2026 13:18
Date: Thu, 26 Nov 2026 13:18
9 lines
9143 bytes
9143 bytes
Hi, At 2026-11-26 19:32:45, netdev-bot+sinfo@kernel.org wrote: > >This is an automated message. This series looks like a fix, but its >commit messages seem to be missing some information: The issue was discovered using a static analysis tool that I developed. I have not triggered or reproduced it at runtime, so I do not have runtime logs or a stack trace demonstrating the issue. The patch passed compilation testing. Thanks.
Re: [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
Author: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 04:00
Date: Wed, 02 Dec 2026 04:00
24 lines
8712 bytes
8712 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:
On Thu, 26 Nov 2026 19:28:25 +0800 you wrote:
> prestera_switchdev_handler_fini() is missed under label
> err_fdb_init. Add it to complete the error handling.
>
> Fixes: e1189d9a5fbe ("net: marvell: prestera: Add Switchdev driver implementation")
> Signed-off-by: Wanhui Fu <fuwh1120@163.com>
> ---
> drivers/net/ethernet/marvell/prestera/prestera_switchdev.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- net: marvell: prestera: Add fini function under label err_fdb_init
https://git.kernel.org/netdev/net-next/c/0a837a30e55b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads