Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73381
b: refs/heads/master
c: 0ac554b
h: refs/heads/master
i:
  73379: c98145e
v: v3
  • Loading branch information
Paul Mundt committed Nov 7, 2007
1 parent 3133062 commit 02a7557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29dd0dae507f73f305aaea765f975eafd1fa5493
refs/heads/master: 0ac554b9be9fd340aa59e0d6a311986afcea40cf
4 changes: 3 additions & 1 deletion trunk/drivers/rtc/rtc-sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,10 @@ static int sh_rtc_read_time(struct device *dev, struct rtc_time *tm)
tm->tm_sec, tm->tm_min, tm->tm_hour,
tm->tm_mday, tm->tm_mon + 1, tm->tm_year, tm->tm_wday);

if (rtc_valid_tm(tm) < 0)
if (rtc_valid_tm(tm) < 0) {
dev_err(dev, "invalid date\n");
rtc_time_to_tm(0, tm);
}

return 0;
}
Expand Down

0 comments on commit 02a7557

Please sign in to comment.