]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/time/ntp.c
ntp: Use kstrtos64 for s64 variable
authorOndrej Mosnacek <omosnace@redhat.com>
Fri, 13 Jul 2018 12:06:41 +0000 (14:06 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 19 Jul 2018 21:58:37 +0000 (14:58 -0700)
commit86b2dcd4f02b86f6b5927fc0adcac777825f4030
tree4396153b634bb5e6dc0594ddd9c3a90a2e991e0a
parent0f9987b63dcc68606b82a349bbb2016b392a2c34
ntp: Use kstrtos64 for s64 variable

...instead of kstrtol with a dirty cast.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/ntp.c