Skip to content

Fix for ADJ_SETOFFSET w/ ADJ_NANO

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ntp: Fix ADJ_SETOFFSET being used w/ ADJ_NANOkernel/time/ntp.c+12 -21 reply
2/2kselftests: timers: Add adjtimex SETOFFSET validity teststools/testing/selftests/timers/valid-adjtimex.c+138 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid HerrmannShuah Khan
SeriesA-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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 <[email protected]>
Cc Richard Cochran <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Prarit Bhargava <[email protected]>
Cc Harald Hoyer <[email protected]>
Cc Kay Sievers <[email protected]>
Cc David Herrmann <[email protected]>
Cc Shuah Khan <[email protected]>

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(-)
Signature · 1 line
1.9.1