1. 12 Jul, 2003 2 commits
    • Bernardo Innocenti's avatar
      [PATCH] asm-generic/div64.h breakage · ed08e6df
      Bernardo Innocenti authored
       - __div64_32(): remove __attribute_pure__ qualifier from the prototype
         since this function obviously clobbers memory through &(n);
      
       - do_div(): add a check to ensure (n) is type-compatible with uint64_t;
      
       - as_update_iohist(): Use sector_div() instead of do_div().
         (Whether the result of the addition should always be stored in 64bits
         regardless of CONFIG_LBD is still being discussed, therefore it's
         unadderessed here);
      
       - Fix all places where do_div() was being called with a bad divisor argument.
      ed08e6df
    • Jens Axboe's avatar
      [PATCH] Fix IDE-CD command failure re-play · 963436f3
      Jens Axboe authored
      Every failed SG_IO request is replayed second time without data
      transfer.  Fix the problem by immediately purging the failed SG_IO
      request from the request queue.
      
      It fixes (among others)
      
      	http://marc.theaimsgroup.com/?t=105634805100001&r=1&w=2
      
      where induced kernel crash occurs upon packet replay.
      963436f3
  2. 11 Jul, 2003 38 commits