Commit 821c37ce authored by Linus Torvalds's avatar Linus Torvalds

Fix type mismatch in min()

parent c639246f
......@@ -1435,7 +1435,7 @@ static inline ide_drive_t *choose_drive (ide_hwgroup_t *hwgroup)
&& 0 < (signed long)(WAKEUP(drive) - (jiffies - best->service_time))
&& 0 < (signed long)((jiffies + t) - WAKEUP(drive)))
{
ide_stall_queue(best, min(t, 10 * WAIT_MIN_SLEEP));
ide_stall_queue(best, min(t, 10L * WAIT_MIN_SLEEP));
goto repeat;
}
} while ((drive = drive->next) != best);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment