]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: stmmac: remove stmmac_hw_setup() excess documentation parameter
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 29 Sep 2025 07:43:55 +0000 (08:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:47:15 +0000 (18:47 -0700)
commit6d3728d424a2ad6c1af03ae597db6b5aca929cf2
tree2b28fe0c7258c3849d96aa522e1c56632628308e
parent4363d182191c0ea5d9461104955e296ba0490222
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>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c