projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425afb6
)
ide: remove BUG_ON() from ide_build_sglist()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:31 +0000
(23:09 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:31 +0000
(23:09 +0100)
do_rw_taskfile() has been fixed to check the return value
of ->dma_setup method so this BUG_ON() is no longer needed.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-dma.c
b/drivers/ide/ide-dma.c
index
51c86bc
..
7d361da
100644
(file)
--- a/
drivers/ide/ide-dma.c
+++ b/
drivers/ide/ide-dma.c
@@
-186,8
+186,6
@@
int ide_build_sglist(ide_drive_t *drive, struct request *rq)
ide_hwif_t *hwif = HWIF(drive);
struct scatterlist *sg = hwif->sg_table;
- BUG_ON((rq->cmd_type == REQ_TYPE_ATA_TASKFILE) && rq->nr_sectors > 256);
-
ide_map_sg(drive, rq);
if (rq_data_dir(rq) == READ)