Skip to content

Commit

Permalink
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/sc…
Browse files Browse the repository at this point in the history
…m/linux/kernel/git/tip/tip

Pull timer bugfix from Thomas Gleixner:
 "A single bugfix for the error check wreckage we introduced in the
  merge window"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  time: Make settimeofday error checking work again
  • Loading branch information
torvalds committed Jun 3, 2016
2 parents e603330 + dfc2507 commit 2c22132
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/timekeeping.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ static inline int do_sys_settimeofday(const struct timespec *tv,
struct timespec64 ts64;

if (!tv)
return do_sys_settimeofday64(NULL, tz);

if (!timespec_valid(tv))
return -EINVAL;

ts64 = timespec_to_timespec64(*tv);
Expand Down

0 comments on commit 2c22132

Please sign in to comment.