2021-06-11 13:15:10

by Wong Vee Khee

[permalink] [raw]
Subject: [PATCH net-next 0/2] stmmac: intel: minor clean-up

This patch series include two minor-cleanup patches:

1. Move all the hardcoded DEFINEs to dwmac-intel header file.
2. Fix the wrong kernel-doc on the intel_eth_pci_remove() function.

Since the changes are minor, only basic sanity tests are done on a
Intel TigerLake with Marvell88E2110 PHY:-

- Link is up and able to perform ping.
- phc2sys and ptp4l are running without errors.

Wong Vee Khee (2):
stmmac: intel: move definitions to dwmac-intel header file
stmmac: intel: fix wrong kernel-doc

.../net/ethernet/stmicro/stmmac/dwmac-intel.c | 18 +-----------------
.../net/ethernet/stmicro/stmmac/dwmac-intel.h | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 17 deletions(-)

--
2.25.1


2021-06-11 13:15:33

by Wong Vee Khee

[permalink] [raw]
Subject: [PATCH net-next 2/2] stmmac: intel: fix wrong kernel-doc

Kernel-doc for intel_eth_pci_remove is incorrect, pdev datatype is
struct pci_dev. Changed it to the 'pci device pointer'.

Signed-off-by: Wong Vee Khee <[email protected]>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
index a38e47e6d470..e0a7d2b17921 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
@@ -1087,7 +1087,7 @@ static int intel_eth_pci_probe(struct pci_dev *pdev,
/**
* intel_eth_pci_remove
*
- * @pdev: platform device pointer
+ * @pdev: pci device pointer
* Description: this function calls the main to free the net resources
* and releases the PCI resources.
*/
--
2.25.1

2021-06-12 20:26:30

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next 0/2] stmmac: intel: minor clean-up

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri, 11 Jun 2021 21:16:07 +0800 you wrote:
> This patch series include two minor-cleanup patches:
>
> 1. Move all the hardcoded DEFINEs to dwmac-intel header file.
> 2. Fix the wrong kernel-doc on the intel_eth_pci_remove() function.
>
> Since the changes are minor, only basic sanity tests are done on a
> Intel TigerLake with Marvell88E2110 PHY:-
>
> [...]

Here is the summary with links:
- [net-next,1/2] stmmac: intel: move definitions to dwmac-intel header file
https://git.kernel.org/netdev/net-next/c/fb9349c4163e
- [net-next,2/2] stmmac: intel: fix wrong kernel-doc
https://git.kernel.org/netdev/net-next/c/3c3ea630e87c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html