* [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value
@ 2023-09-21 6:35 Uwe Kleine-König
2023-09-21 6:41 ` Pandey, Radhey Shyam
2023-10-01 13:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2023-09-21 6:35 UTC (permalink / raw)
To: David S . Miller
Cc: Radhey Shyam Pandey, netdev, kernel, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
During review of the patch that became 2e0ec0afa902 ("net: ethernet:
xilinx: Convert to platform remove callback returning void") in
net-next, Radhey Shyam Pandey pointed out that the change makes the
documentation about the return value obsolete. The patch was applied
without addressing this feedback, so here comes a fix in a separate
patch.
Fixes: 2e0ec0afa902 ("net: ethernet: xilinx: Convert to platform remove callback returning void")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
Hello,
I don't know if you keep net-next/main stable. If you're relaxed here,
feel free to squash this patch into the original commit.
Best regards
Uwe
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 32a502e7318b..765aa516aada 100644
--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
@@ -1180,8 +1180,6 @@ static int xemaclite_of_probe(struct platform_device *ofdev)
* This function is called if a device is physically removed from the system or
* if the driver module is being unloaded. It frees any resources allocated to
* the device.
- *
- * Return: 0, always.
*/
static void xemaclite_of_remove(struct platform_device *of_dev)
{
base-commit: 940fcc189c51032dd0282cbee4497542c982ac59
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value
2023-09-21 6:35 [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value Uwe Kleine-König
@ 2023-09-21 6:41 ` Pandey, Radhey Shyam
2023-10-01 13:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Pandey, Radhey Shyam @ 2023-09-21 6:41 UTC (permalink / raw)
To: Uwe Kleine-König, David S . Miller
Cc: netdev@vger.kernel.org, kernel@pengutronix.de, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
> -----Original Message-----
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Sent: Thursday, September 21, 2023 12:05 PM
> To: David S . Miller <davem@davemloft.net>
> Cc: Pandey, Radhey Shyam <radhey.shyam.pandey@amd.com>;
> netdev@vger.kernel.org; kernel@pengutronix.de; Eric Dumazet
> <edumazet@google.com>; Jakub Kicinski <kuba@kernel.org>; Paolo Abeni
> <pabeni@redhat.com>
> Subject: [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment
> about return value
>
> During review of the patch that became 2e0ec0afa902 ("net: ethernet:
> xilinx: Convert to platform remove callback returning void") in
> net-next, Radhey Shyam Pandey pointed out that the change makes the
> documentation about the return value obsolete. The patch was applied
> without addressing this feedback, so here comes a fix in a separate
> patch.
>
> Fixes: 2e0ec0afa902 ("net: ethernet: xilinx: Convert to platform remove
> callback returning void")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Thanks!
> ---
> Hello,
>
> I don't know if you keep net-next/main stable. If you're relaxed here,
> feel free to squash this patch into the original commit.
>
> Best regards
> Uwe
>
> drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
> b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
> index 32a502e7318b..765aa516aada 100644
> --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
> +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
> @@ -1180,8 +1180,6 @@ static int xemaclite_of_probe(struct
> platform_device *ofdev)
> * This function is called if a device is physically removed from the system or
> * if the driver module is being unloaded. It frees any resources allocated to
> * the device.
> - *
> - * Return: 0, always.
> */
> static void xemaclite_of_remove(struct platform_device *of_dev)
> {
>
> base-commit: 940fcc189c51032dd0282cbee4497542c982ac59
> --
> 2.40.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value
2023-09-21 6:35 [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value Uwe Kleine-König
2023-09-21 6:41 ` Pandey, Radhey Shyam
@ 2023-10-01 13:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-10-01 13:10 UTC (permalink / raw)
To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E?=
Cc: davem, radhey.shyam.pandey, netdev, kernel, edumazet, kuba,
pabeni
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Thu, 21 Sep 2023 08:35:01 +0200 you wrote:
> During review of the patch that became 2e0ec0afa902 ("net: ethernet:
> xilinx: Convert to platform remove callback returning void") in
> net-next, Radhey Shyam Pandey pointed out that the change makes the
> documentation about the return value obsolete. The patch was applied
> without addressing this feedback, so here comes a fix in a separate
> patch.
>
> [...]
Here is the summary with links:
- [net-next] net: ethernet: xilinx: Drop kernel doc comment about return value
https://git.kernel.org/netdev/net-next/c/f77e9f13ba09
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-01 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 6:35 [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value Uwe Kleine-König
2023-09-21 6:41 ` Pandey, Radhey Shyam
2023-10-01 13:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).