projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6181318
)
alpha: Fix uninitialized value in read_persistent_clock.
author
Richard Henderson
<rth@twiddle.net>
Sun, 17 Apr 2011 20:05:26 +0000
(13:05 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 17 Apr 2011 21:41:30 +0000
(14:41 -0700)
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/alpha/kernel/time.c
b/arch/alpha/kernel/time.c
index a58e84f1a63b76cc3e96856d10736a1c03ba6872..918e8e0b72ff1e3220845ea410277a83ff326517 100644
(file)
--- 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;
}