Re: [patch 03/15] clocksource: Let timekeeping_notify return success/error

From: John Stultz
Date: Mon Apr 29 2013 - 20:37:36 EST

On 04/25/2013 01:31 PM, Thomas Gleixner wrote:
timekeeping_notify() can fail due cs->enable() failure. Though the
caller does not notice and happily keeps the wrong clocksource as the
current one.

Let the caller know about failure, so the current clocksource will be
shown correctly in sysfs.

Signed-off-by: Thomas Gleixner<tglx@xxxxxxxxxxxxx>

Acked-by: John Stultz <john.stultz@xxxxxxxxxx>


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at