projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73fc4f0
)
[BLOCK] Don't clear sg_dma_len/addr() in blk_rq_map_sg()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 23 Oct 2007 07:27:05 +0000
(09:27 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 23 Oct 2007 07:27:05 +0000
(09:27 +0200)
It's not a proper lvalue on all archs.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c
patch
|
blob
|
history
diff --git
a/block/ll_rw_blk.c
b/block/ll_rw_blk.c
index
61c2e39
..
fb8fb88
100644
(file)
--- a/
block/ll_rw_blk.c
+++ b/
block/ll_rw_blk.c
@@
-1354,8
+1354,6
@@
new_segment:
else
sg = sg_next(sg);
- sg_dma_len(sg) = 0;
- sg_dma_address(sg) = 0;
sg_set_page(sg, bvec->bv_page);
sg->length = nbytes;
sg->offset = bvec->bv_offset;