diff mbox series

[net-next] net: ethernet: xilinx: Drop kernel doc comment about return value

Message ID 20230921063501.1571222-1-u.kleine-koenig@pengutronix.de (mailing list archive)
State Accepted
Commit f77e9f13ba090d922fdd3f6e3485fc32010284db
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: ethernet: xilinx: Drop kernel doc comment about return value | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1342 this patch: 1342
netdev/cc_maintainers warning 3 maintainers not CCed: linux-arm-kernel@lists.infradead.org michal.simek@amd.com robh@kernel.org
netdev/build_clang success Errors and warnings before: 1363 this patch: 1363
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 1365 this patch: 1365
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Uwe Kleine-König Sept. 21, 2023, 6:35 a.m. UTC
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(-)


base-commit: 940fcc189c51032dd0282cbee4497542c982ac59

Comments

Radhey Shyam Pandey Sept. 21, 2023, 6:41 a.m. UTC | #1
> -----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
patchwork-bot+netdevbpf@kernel.org Oct. 1, 2023, 1:10 p.m. UTC | #2
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!
diff mbox series

Patch

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)
 {