All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Stultz <john.stultz@linaro.org>
To: Richard Cochran <richardcochran@gmail.com>
Cc: Miroslav Lichvar <mlichvar@redhat.com>,
	linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] posix-timers: Fix clock_adjtime to return timex data on success
Date: Thu, 10 Jan 2013 12:27:45 -0800	[thread overview]
Message-ID: <50EF2441.7020507@linaro.org> (raw)
In-Reply-To: <20130110201205.GE2909@netboy.at.omicron.at>

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


  reply	other threads:[~2013-01-10 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 17:12 [PATCH] posix-timers: Fix clock_adjtime to return timex data on success Miroslav Lichvar
2013-01-10 20:12 ` Richard Cochran
2013-01-10 20:27   ` John Stultz [this message]
2013-01-11 10:58     ` [PATCHv2] posix-timers: Fix clock_adjtime to always " Miroslav Lichvar
2013-01-12  2:29       ` John Stultz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50EF2441.7020507@linaro.org \
    --to=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mlichvar@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.