• Christoph Hellwig's avatar
    [PATCH] fix sector_div use in scsicam.c · 740ec8b5
    Christoph Hellwig authored
    sector_div has the same slightly strange calling convention do_div has:
    it's return value is the modulo of the two operators, the division
    result is in the first parameter.  Also optimize one of the expensive
    64bit division away (okay, okay - it's not exactly an fast-path :))
    740ec8b5
scsicam.c 6.97 KB