[PATCH] fix sector_div use in scsicam.c
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 :))
Showing
Please register or sign in to comment