[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1303070726-32155-5-git-send-email-rth@twiddle.net>
Date: Sun, 17 Apr 2011 13:05:26 -0700
From: Richard Henderson <rth@...ddle.net>
To: linux-kernel@...r.kernel.org
Cc: torvalds@...ux-foundation.org, mattst88@...il.com,
linux-alpha@...r.kernel.org
Subject: [PATCH 4/4] alpha: Fix uninitialized value in read_persistent_clock.
Signed-off-by: Richard Henderson <rth@...ddle.net>
---
arch/alpha/kernel/time.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c
index a58e84f..918e8e0 100644
--- a/arch/alpha/kernel/time.c
+++ b/arch/alpha/kernel/time.c
@@ -153,6 +153,7 @@ void read_persistent_clock(struct timespec *ts)
year += 100;
ts->tv_sec = mktime(year, mon, day, hour, min, sec);
+ ts->tv_nsec = 0;
}
--
1.7.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists