Skip to content
Snippets Groups Projects
Commit 21d8b62e authored by nbd's avatar nbd
Browse files

brcm2708: remove a patch that was added in the stable update (fixes #19253)


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44920 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 9b0ecfd6
No related branches found
No related tags found
No related merge requests found
From 89d56313537f161a0d9b3888c0f39770cbb994a7 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 8 Feb 2015 13:17:00 +0000
Subject: [PATCH 114/114] ntp: Patch to fix false positives on 32bit systems
See: https://bugzilla.kernel.org/show_bug.cgi?id=92481
---
kernel/time/ntp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -634,9 +634,9 @@ int ntp_validate_timex(struct timex *txc
return -EPERM;
if (txc->modes & ADJ_FREQUENCY) {
- if (LONG_MIN / PPM_SCALE > txc->freq)
+ if (LLONG_MIN / PPM_SCALE > txc->freq)
return -EINVAL;
- if (LONG_MAX / PPM_SCALE < txc->freq)
+ if (LLONG_MAX / PPM_SCALE < txc->freq)
return -EINVAL;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment