Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1457
b: refs/heads/master
c: 5d9e4ea
h: refs/heads/master
i:
  1455: b9b39ec
v: v3
  • Loading branch information
Linus Torvalds committed May 27, 2005
1 parent 9ff5a6d commit 5107b05
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d68b8622ccbee8a18e495ad1650c3306f2eeb0d6
refs/heads/master: 5d9e4ea55ae19f9083b9c2c97cc912b823ee7ab4
5 changes: 4 additions & 1 deletion trunk/drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1932,8 +1932,11 @@ static ide_startstop_t cdrom_do_block_pc(ide_drive_t *drive, struct request *rq)

/*
* check if dma is safe
*
* NOTE! The "len" and "addr" checks should possibly have
* separate masks.
*/
if ((rq->data_len & 3) || (addr & mask))
if ((rq->data_len & mask) || (addr & mask))
info->dma = 0;
}

Expand Down

0 comments on commit 5107b05

Please sign in to comment.