Skip to content

Commit cb8e2e4

Browse files
LiBaokun96davem330
authored andcommitted
dccp: tfrc: fix doc warnings in tfrc_equation.c
Add description for `tfrc_invert_loss_event_rate` to fix the W=1 warnings: net/dccp/ccids/lib/tfrc_equation.c:695: warning: Function parameter or member 'loss_event_rate' not described in 'tfrc_invert_loss_event_rate' Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Richard Sailer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 73e4290 commit cb8e2e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/dccp/ccids/lib/tfrc_equation.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ u32 tfrc_calc_x_reverse_lookup(u32 fvalue)
688688

689689
/**
690690
* tfrc_invert_loss_event_rate - Compute p so that 10^6 corresponds to 100%
691+
* @loss_event_rate: loss event rate to invert
691692
* When @loss_event_rate is large, there is a chance that p is truncated to 0.
692693
* To avoid re-entering slow-start in that case, we set p = TFRC_SMALLEST_P > 0.
693694
*/

0 commit comments

Comments
 (0)