- ntp-add-ntp_update_frequency-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     ntp-add-ntp_update_frequency fix

has been removed from the -mm tree.  Its filename is

     ntp-add-ntp_update_frequency-fix.patch

This patch was dropped because it was folded into ntp-add-ntp_update_frequency.patch

------------------------------------------------------
Subject: ntp-add-ntp_update_frequency fix
From: Roman Zippel <zippel@xxxxxxxxxxxxxx>

It's a silly sign problem.  gcc turned the divide into an unsigned one.

Signed-off-by: Roman Zippel <zippel@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/time/ntp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/time/ntp.c~ntp-add-ntp_update_frequency-fix kernel/time/ntp.c
--- a/kernel/time/ntp.c~ntp-add-ntp_update_frequency-fix
+++ a/kernel/time/ntp.c
@@ -62,7 +62,7 @@ void ntp_clear(void)
 }
 
 #define CLOCK_TICK_OVERFLOW	(LATCH * HZ - CLOCK_TICK_RATE)
-#define CLOCK_TICK_ADJUST	(((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / CLOCK_TICK_RATE)
+#define CLOCK_TICK_ADJUST	(((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / (s64)CLOCK_TICK_RATE)
 
 void ntp_update_frequency(void)
 {
_

Patches currently in -mm which might be from zippel@xxxxxxxxxxxxxx are

origin.patch
ntp-move-all-the-ntp-related-code-to-ntpc.patch
ntp-add-ntp_update_frequency.patch
ntp-add-ntp_update_frequency-fix.patch
ntp-add-time_adj-to-tick-length.patch
ntp-add-time_freq-to-tick-length.patch
ntp-prescale-time_offset.patch
ntp-add-time_adjust-to-tick-length.patch
ntp-remove-time_tolerance.patch
ntp-convert-time_freq-to-nsec-value.patch
ntp-convert-to-the-ntp4-reference-model.patch
ntp-cleanup-defines-and-comments.patch
kernel-time-ntpc-possible-cleanups.patch
kill-wall_jiffies.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux