projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/block/ll_rw_blk.c
b/block/ll_rw_blk.c
index 61c2e396f2faf402a7b0c95779beb5a12eb2946f..fb8fb8852c3b478a80741ee2a7d95343332e43a8 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;