Commit feb8c2b7 authored by Jeff Johnson's avatar Jeff Johnson Committed by Jakub Kicinski
Browse files

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: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240505-ccid2_rtt_estimator-kdoc-v1-1-09231fcb9145@quicinc.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ecc2ae61
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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),