From: Richard Henderson <rth@twiddle.net>
To: linux-kernel@vger.kernel.org
Cc: torvalds@linux-foundation.org, mattst88@gmail.com,
linux-alpha@vger.kernel.org
Subject: [PATCH 4/4] alpha: Fix uninitialized value in read_persistent_clock.
Date: Sun, 17 Apr 2011 13:05:26 -0700 [thread overview]
Message-ID: <1303070726-32155-5-git-send-email-rth@twiddle.net> (raw)
In-Reply-To: <1303070726-32155-1-git-send-email-rth@twiddle.net>
Signed-off-by: Richard Henderson <rth@twiddle.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
prev parent reply other threads:[~2011-04-17 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-17 20:05 [PATCH 0/4][PULL] Alpha fixes Richard Henderson
2011-04-17 20:05 ` [PATCH 1/4] alpha: Don't force -Werror Richard Henderson
2011-04-17 20:05 ` [PATCH 2/4] alpha: Remove set but unused variables Richard Henderson
2011-04-17 20:05 ` [PATCH 3/4] alpha: Fix RTC interrupt setup Richard Henderson
2011-04-17 20:05 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1303070726-32155-5-git-send-email-rth@twiddle.net \
--to=rth@twiddle.net \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mattst88@gmail.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®