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>

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/