summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2024-05-05 23:09:31 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-08 02:15:08 +0300
commitfeb8c2b76eb3fae59a1f62451508c98c36db5e3a (patch)
tree19ba1303e229e3708d9116aefdd91feeec544446 /net/dccp
parentecc2ae6176a9f0b9f4eab015452ffc5e1f54c95f (diff)
downloadlinux-feb8c2b76eb3fae59a1f62451508c98c36db5e3a.tar.xz
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. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240505-ccid2_rtt_estimator-kdoc-v1-1-09231fcb9145@quicinc.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ccids/ccid2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c
index 4d9823d6dced..d6b30700af67 100644
--- a/net/dccp/ccids/ccid2.c
+++ b/net/dccp/ccids/ccid2.c
@@ -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),