Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73109
b: refs/heads/master
c: 5da0c7a
h: refs/heads/master
i:
  73107: 52b21dc
v: v3
  • Loading branch information
Linus Torvalds committed Nov 4, 2007
1 parent 9ce96d1 commit 47ea307
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9e66269d40229cd9823024120910a43af57a9d72
refs/heads/master: 5da0c7aad6271dd29526e3b49cbeb3bab9e8e491
3 changes: 2 additions & 1 deletion trunk/drivers/rtc/rtc-cmos.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ static int cmos_read_alarm(struct device *dev, struct rtc_wkalrm *t)
t->time.tm_hour = CMOS_READ(RTC_HOURS_ALARM);

if (cmos->day_alrm) {
t->time.tm_mday = CMOS_READ(cmos->day_alrm);
/* ignore upper bits on readback per ACPI spec */
t->time.tm_mday = CMOS_READ(cmos->day_alrm) & 0x3f;
if (!t->time.tm_mday)
t->time.tm_mday = -1;

Expand Down

0 comments on commit 47ea307

Please sign in to comment.