lkml.org 
[lkml]   [2002]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [BUG] Compile failure (gcc 2.96 bug?). 2.5.42 raid0.c
    From
    Date
    On Mon, 2002-10-14 at 22:54, Arjan van de Ven wrote:
    > On Mon, 2002-10-14 at 22:27, David Mansfield wrote:
    > >
    > > - sector_t x = block;
    > > + volatile sector_t y = 0;
    > > + sector_t x = block - y;
    > > sector_div(x, (unsigned long)conf->smallest->size);
    > > hash = conf->hash_table + x;
    > > }
    > this appears to be a bad code bug; do_div() requires the first argument
    > to be an u64 and we cast it to unsigned long here....

    ehm ignore me I'm blind
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:30    [W:0.019 / U:0.504 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site