Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73112
b: refs/heads/master
c: aa64193
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Nov 5, 2007
1 parent 61df8c6 commit 18e8de6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: f26792d5c63344e14540ced4b19deb29e360bb8d
refs/heads/master: aa641935343e05795f7f7289e7b242138b612ffe
3 changes: 1 addition & 2 deletions trunk/drivers/ieee1394/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ int dma_region_alloc(struct dma_region *dma, unsigned long n_bytes,
goto err;
}

/* just to be safe - this will become unnecessary once sglist->address goes away */
memset(dma->sglist, 0, dma->n_pages * sizeof(*dma->sglist));
sg_init_table(dma->sglist, dma->n_pages);

/* fill scatter/gather list with pages */
for (i = 0; i < dma->n_pages; i++) {
Expand Down
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 18e8de6

Please sign in to comment.