[PATCH 0/2] Fix for ADJ_SETOFFSET w/ ADJ_NANO

From: John Stultz
Date: Thu Jan 21 2016 - 18:04:11 EST


David Herrmann mailed me pointing out that one of the
changes that landed in 4.5-rc broke users of ADJ_SETOFFSET
when used with ADJ_NANO.

I've implemented a fix to this issue and also introduced
more unit tests to validate these going forward.

Thomas: Can you queue the first patch for tip/timers/urgent?

Shuah: The kselftests patch can wait to the next merge window
if you'd prefer.

Let me know if you have any thoughts or objections!

thanks
-john


Cc: Sasha Levin <sasha.levin@xxxxxxxxxx>
Cc: Richard Cochran <richardcochran@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Prarit Bhargava <prarit@xxxxxxxxxx>
Cc: Harald Hoyer <harald@xxxxxxxxxx>
Cc: Kay Sievers <kay@xxxxxxxx>
Cc: David Herrmann <dh.herrmann@xxxxxxxxx>
Cc: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>

John Stultz (2):
ntp: Fix ADJ_SETOFFSET being used w/ ADJ_NANO
kselftests: timers: Add adjtimex SETOFFSET validity tests

kernel/time/ntp.c | 14 ++-
tools/testing/selftests/timers/valid-adjtimex.c | 139 +++++++++++++++++++++++-
2 files changed, 150 insertions(+), 3 deletions(-)

--
1.9.1