projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parisc: time: stop validating rtc_time in .read_time
[linux-2.6-microblaze.git]
/
arch
/
parisc
/
kernel
/
time.c
diff --git
a/arch/parisc/kernel/time.c
b/arch/parisc/kernel/time.c
index
4b8fd6d
..
f2890bd
100644
(file)
--- a/
arch/parisc/kernel/time.c
+++ b/
arch/parisc/kernel/time.c
@@
-173,7
+173,7
@@
static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
/* we treat tod_sec as unsigned, so this can work until year 2106 */
rtc_time64_to_tm(tod_data.tod_sec, tm);
- return
rtc_valid_tm(tm)
;
+ return
0
;
}
static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)