Re: [PATCH] BUG-FIX - conversion errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Ian McDonald:
|  On 12/9/06, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote:
|  > [CCID3]: BUG-FIX - conversion errors
|  > -                       u16 w_init = min(    4 * hctx->ccid3hctx_s,
|  > -                                        max(2 * hctx->ccid3hctx_s, 4380));
|  > +                       __u64 w_init = min(    4 * hctx->ccid3hctx_s,
|  > +                                          max(2 * hctx->ccid3hctx_s, 4380));
|  
|  This has broken this code on line 478 of ccid3.c:
|  			ccid3_pr_debug("%s(%p), s=%u, w_init=%u, "
|  				       "R_sample=%ldus, X=%u\n", dccp_role(sk),
|  				       sk, hctx->ccid3hctx_s, w_init, r_sample,
|  				       (unsigned)(hctx->ccid3hctx_x >> 6));
|  
|  
|  If I change the line to this it works for me:
|  			ccid3_pr_debug("%s(%p), s=%u, w_init=%llu, "
|  
Hi there - sorry about the whitespace errors and the above one. I thought about this one
when I went home on Friday. I will re-work the above, also to use MSS instead of `s', which
does make sense.

Thanks for all the good work, Arnaldo.

Gerrit
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux