net: dccp: Fix ccid2_rtt_estimator() kernel-doc
Subsystems (2)
PATCH 1/1 net: dccp: Fix ccid2_rtt_estimator() kernel-doc
make C=1 reports:
warning: Function parameter or struct member 'mrtt' not described in 'ccid2_rtt_estimator'
So document the 'mrtt' parameter.
--- net/dccp/ccids/ccid2.c | 1 + 1 file changed, 1 insertion(+)
net/dccp/ccids/ccid2.c +1 -0
@@ -353,6 +353,7 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, unsigned int len)/** * ccid2_rtt_estimator - Sample RTT and compute RTO using RFC2988 algorithm * @sk: socket to perform estimator on +* @mrtt: measured RTT * * This code is almost identical with TCP's tcp_rtt_estimator(), since * - it has a higher sampling frequency (recommended by RFC 1323),
---
base-commit: 2c4d8e19cf060744a9db466ffbaea13ab37f25ca
change-id: 20240505-ccid2_rtt_estimator-kdoc-7346f82e7afd
Quoted 7 lines · Jeff Johnson
make C=1 reports:
warning: Function parameter or struct member 'mrtt' not described in '
ccid2_rtt_estimator'So document the 'mrtt' parameter.
Signed-off-by Jeff Johnson <[email protected]>
The comment just inside tcp_rtt_estimator is a good read :)
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 9 lines · On Sun, 5 May 2024 13:09:31 -0700 you wrote:
make C=1 reports:
warning: Function parameter or struct member 'mrtt' not described in '
ccid2_rtt_estimator'So document the 'mrtt' parameter.
Signed-off-by Jeff Johnson <[email protected]>[...]
Here is the summary with links:
- net: dccp: Fix ccid2_rtt_estimator() kernel-doc
https://git.kernel.org/netdev/net-next/c/feb8c2b76eb3
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html