net: stmmac: remove stmmac_hw_setup() excess documentation parameter
Subsystems (4)
PATCH 1/1 net: stmmac: remove stmmac_hw_setup() excess documentation parameter
The kernel build bot reports:
Warning: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3438 Excess function parameter 'ptp_register' description in 'stmmac_hw_setup'
Fix it.
--- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +0 -1
@@ -3400,7 +3400,6 @@ static void stmmac_safety_feat_configuration(struct stmmac_priv *priv)/** * stmmac_hw_setup - setup mac in a usable state. * @dev : pointer to the device structure. -* @ptp_register: register PTP if set * Description: * this is the main function to setup the HW in a usable state because the * dma engine is reset, the core registers are configured (e.g. AXI,
Signature · 1 line
2.47.3
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 4 lines · On Mon, 29 Sep 2025 08:43:55 +0100 you wrote:
The kernel build bot reports:
Warning:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3438Excess function parameter 'ptp_register' description in 'stmmac_hw_setup'
Quoted 8 lines
Fix it.
Reported-by kernel test robot <[email protected]>Fixes 98d8ea566b85 ("net: stmmac: move timestamping/ptp init to stmmac_hw_setup() caller")Signed-off-by Russell King (Oracle) <[email protected]>[...]
Here is the summary with links:
- [net-next] net: stmmac: remove stmmac_hw_setup() excess documentation parameter
https://git.kernel.org/netdev/net-next/c/6d3728d424a2
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Quoted 10 lines · Russell King (Oracle)
The kernel build bot reports:
Warning:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3438Excess function parameter 'ptp_register' description in 'stmmac_hw_setup'Fix it.
Reported-by kernel test robot <[email protected]>Fixes 98d8ea566b85 ("net: stmmac: move timestamping/ptp init to stmmac_hw_setup() caller")Signed-off-by Russell King (Oracle) <[email protected]>
Andrew