Use time_after_eq instead of >= From: Michal Schmidt <xschmi00@xxxxxxxxxxxxxxxxxx> Signed-off-by: Neil Brown <neilb@xxxxxxxxxxxxxxx> ### Diffstat output ./drivers/md/md.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff ./drivers/md/md.c~current~ ./drivers/md/md.c --- ./drivers/md/md.c~current~ 2004-12-01 11:24:00.000000000 +1100 +++ ./drivers/md/md.c 2004-12-01 11:24:00.000000000 +1100 @@ -3503,7 +3503,7 @@ static void md_do_sync(mddev_t *mddev) break; repeat: - if (jiffies >= mark[last_mark] + SYNC_MARK_STEP ) { + if (time_after_eq(jiffies, mark[last_mark] + SYNC_MARK_STEP )) { /* step marks */ int next = (last_mark+1) % SYNC_MARKS; - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html