Re: [PATCHv2] posix-timers: Fix clock_adjtime to always return timexdata on success
From: John Stultz
Date: Fri Jan 11 2013 - 21:29:13 EST
On 01/11/2013 02:58 AM, Miroslav Lichvar wrote:
The clock_adj call returns the clock state on success, which may be a
non-zero value (e.g. TIME_INS), but the modified timex data is copied
back to the user only when zero value (TIME_OK) was returned. Fix the
condition to copy the data also with positive return values.
Signed-off-by: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Thanks for the resend. I've got this in my queue for 3.9
thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/