* [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
@ 2026-11-26 11:28 Wanhui Fu
2026-11-26 11:32 ` netdev-bot+sinfo
2026-11-26 11:59 ` [EXTERNAL] " Elad Nachman
0 siblings, 2 replies; 4+ messages in thread
From: Wanhui Fu @ 2026-11-26 11:28 UTC (permalink / raw)
To: enachman, davem, edumazet, kuba, pabeni, serhiy.pshyk,
taras.chornyi, serhiy.boiko, vadym.kochan
Cc: netdev, Wanhui Fu
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
2026-11-26 11:28 [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init Wanhui Fu
@ 2026-11-26 11:32 ` netdev-bot+sinfo
2026-11-26 13:18 ` fuwh1120
2026-11-26 11:59 ` [EXTERNAL] " Elad Nachman
1 sibling, 1 reply; 4+ messages in thread
From: netdev-bot+sinfo @ 2026-11-26 11:32 UTC (permalink / raw)
To: Wanhui Fu
Cc: enachman, davem, edumazet, kuba, pabeni, serhiy.pshyk,
taras.chornyi, serhiy.boiko, vadym.kochan, netdev
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
2026-11-26 11:32 ` netdev-bot+sinfo
@ 2026-11-26 13:18 ` fuwh1120
0 siblings, 0 replies; 4+ messages in thread
From: fuwh1120 @ 2026-11-26 13:18 UTC (permalink / raw)
To: netdev-bot+sinfo
Cc: enachman, davem, edumazet, kuba, pabeni, serhiy.pshyk,
taras.chornyi, serhiy.boiko, vadym.kochan, netdev
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [EXTERNAL] [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init
2026-11-26 11:28 [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init Wanhui Fu
2026-11-26 11:32 ` netdev-bot+sinfo
@ 2026-11-26 11:59 ` Elad Nachman
1 sibling, 0 replies; 4+ messages in thread
From: Elad Nachman @ 2026-11-26 11:59 UTC (permalink / raw)
To: Wanhui Fu, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, Serhiy Pshyk, Taras Chornyi,
serhiy.boiko@plvision.eu, Vadym Kochan
Cc: netdev@vger.kernel.org
> 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 <mailto: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
>
Reviewed-by: Elad Nachman <enachman@marvell.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-26 13:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 11:28 [PATCH] net: marvell: prestera: Add fini function under label err_fdb_init Wanhui Fu
2026-11-26 11:32 ` netdev-bot+sinfo
2026-11-26 13:18 ` fuwh1120
2026-11-26 11:59 ` [EXTERNAL] " Elad Nachman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox