Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73108
b: refs/heads/master
c: 9e66269
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe authored and Stefan Richter committed Nov 4, 2007
1 parent 52b21dc commit 9ce96d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: 615bb29ccbe9fa06d9f33b29d9c3f51340726656
refs/heads/master: 9e66269d40229cd9823024120910a43af57a9d72
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: 1 addition & 2 deletions trunk/drivers/rtc/rtc-cmos.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ 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) {
/* ignore upper bits on readback per ACPI spec */
t->time.tm_mday = CMOS_READ(cmos->day_alrm) & 0x3f;
t->time.tm_mday = CMOS_READ(cmos->day_alrm);
if (!t->time.tm_mday)
t->time.tm_mday = -1;

Expand Down

0 comments on commit 9ce96d1

Please sign in to comment.