lkml.org 
[lkml]   [2013]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] posix-timers: Fix clock_adjtime to return timex data on success
On 01/10/2013 12:12 PM, Richard Cochran wrote:
> On Thu, Jan 10, 2013 at 06:12:02PM +0100, Miroslav Lichvar wrote:
>> Copy the modified timex data back to the user also with positive return
>> values. This fixes reading of the CLOCK_REALTIME timex data when the
>> clock is in a non-zero state.
>>
>> Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
> Acked-by: Richard Cochran <richardcochran@gmail.com>
>
> (Adding John Stultz on CC)

Just to clarify (the commit message makes it pretty hard to understand
exactly what's going wrong), this is to handle the case where
clock_adj() returns a non-zero time_state value (such as TIME_INS) ?

thanks
-john



\
 
 \ /
  Last update: 2013-01-10 22:21    [W:0.406 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site