Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98083
b: refs/heads/master
c: 1e8a287
h: refs/heads/master
i:
  98081: 7262de6
  98079: a98418a
v: v3
  • Loading branch information
Gerrit Renker committed Jun 11, 2008
1 parent c6fa75f commit b4a8904
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65907a433ac0ca450c4408080f24c6e4743386b2
refs/heads/master: 1e8a287c79f64226541f5c44aa52d4698bb84cf5
8 changes: 4 additions & 4 deletions trunk/net/dccp/ccids/lib/tfrc_equation.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ u32 tfrc_calc_x(u16 s, u32 R, u32 p)

EXPORT_SYMBOL_GPL(tfrc_calc_x);

/*
/**
* tfrc_calc_x_reverse_lookup - try to find p given f(p)
*
* @fvalue: function value to match, scaled by 1000000
Expand All @@ -676,11 +676,11 @@ u32 tfrc_calc_x_reverse_lookup(u32 fvalue)

/* Error cases. */
if (fvalue < tfrc_calc_x_lookup[0][1]) {
DCCP_WARN("fvalue %d smaller than resolution\n", fvalue);
return tfrc_calc_x_lookup[0][1];
DCCP_WARN("fvalue %u smaller than resolution\n", fvalue);
return TFRC_SMALLEST_P;
}
if (fvalue > tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][0]) {
DCCP_WARN("fvalue %d exceeds bounds!\n", fvalue);
DCCP_WARN("fvalue %u exceeds bounds!\n", fvalue);
return 1000000;
}

Expand Down

0 comments on commit b4a8904

Please sign in to comment.