And another patch we already discussed. wait_event_timeout(wq, true, 0) still returns 0, this doesn't look right, and this doesn't match __wait_event_timeout(timeout => 0).
Sure, most probably nobody uses the constant timeout == 0, but this can break the code which does something like if (nonblock) timeout = 0; else timeout = TIMEOUT; success = wait_event_timeout(wq, CONDITION, timeout); Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/