Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 98d8ea566b85 ("net: stmmac: move timestamping/ptp init to stmmac_hw_setup() caller")
Closes: https://lore.kernel.org/oe-kbuild-all/202509290927.svDd6xuw-lkp@intel.com/
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1v38Y7-00000008UCQ-3w27@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Russell King (Oracle) and committed by
Jakub Kicinski
6d3728d4 4363d182

-1
-1
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
··· 3400 3400 /** 3401 3401 * stmmac_hw_setup - setup mac in a usable state. 3402 3402 * @dev : pointer to the device structure. 3403 - * @ptp_register: register PTP if set 3404 3403 * Description: 3405 3404 * this is the main function to setup the HW in a usable state because the 3406 3405 * dma engine is reset, the core registers are configured (e.g. AXI,