diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index 95eca99e4dd9..dc6e41883315 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -94,9 +94,9 @@ static inline void ccid3_update_send_interval(struct ccid3_hc_tx_sock *hctx) | |||
94 | hctx->ccid3hctx_delta = min_t(u32, hctx->ccid3hctx_t_ipi / 2, | 94 | hctx->ccid3hctx_delta = min_t(u32, hctx->ccid3hctx_t_ipi / 2, |
95 | TFRC_OPSYS_HALF_TIME_GRAN); | 95 | TFRC_OPSYS_HALF_TIME_GRAN); |
96 | 96 | ||
97 | ccid3_pr_debug("t_ipi=%u, delta=%u, s=%u, X=%llu\n", | 97 | ccid3_pr_debug("t_ipi=%u, delta=%u, s=%u, X=%u\n", |
98 | hctx->ccid3hctx_t_ipi, hctx->ccid3hctx_delta, | 98 | hctx->ccid3hctx_t_ipi, hctx->ccid3hctx_delta, |
99 | hctx->ccid3hctx_s, hctx->ccid3hctx_x >> 6); | 99 | hctx->ccid3hctx_s, (unsigned)(hctx->ccid3hctx_x >> 6)); |
100 | 100 | ||
101 | } | 101 | } |
102 | /* | 102 | /* |
@@ -139,9 +139,11 @@ static void ccid3_hc_tx_update_x(struct sock *sk, struct timeval *now) | |||
139 | } | 139 | } |
140 | 140 | ||
141 | if (hctx->ccid3hctx_x != old_x) { | 141 | if (hctx->ccid3hctx_x != old_x) { |
142 | ccid3_pr_debug("X_prev=%llu, X_now=%llu, X_calc=%u, " | 142 | ccid3_pr_debug("X_prev=%u, X_now=%u, X_calc=%u, " |
143 | "X_recv=%llu\n", old_x >> 6, hctx->ccid3hctx_x >> 6, | 143 | "X_recv=%u\n", (unsigned)(old_x >> 6), |
144 | hctx->ccid3hctx_x_calc, hctx->ccid3hctx_x_recv >> 6); | 144 | (unsigned)(hctx->ccid3hctx_x >> 6), |
145 | hctx->ccid3hctx_x_calc, | ||
146 | (unsigned)(hctx->ccid3hctx_x_recv >> 6)); | ||
145 | 147 | ||
146 | ccid3_update_send_interval(hctx); | 148 | ccid3_update_send_interval(hctx); |
147 | } | 149 | } |