diff options
| author | Ming Lei <[email protected]> | 2015-11-24 02:35:29 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-11-24 03:16:51 +0000 |
| commit | 578270bfbd2803dc7b0b03fbc2ac119efbc73195 (patch) | |
| tree | b326c3879cfde7498f2c3c257951f5ae67b19502 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | blk-mq: fix calling unplug callbacks with preempt disabled (diff) | |
| download | kernel-578270bfbd2803dc7b0b03fbc2ac119efbc73195.tar.gz kernel-578270bfbd2803dc7b0b03fbc2ac119efbc73195.zip | |
block: fix segment split
Inside blk_bio_segment_split(), previous bvec pointer(bvprvp)
always points to the iterator local variable, which is obviously
wrong, so fix it by pointing to the local variable of 'bvprv'.
Fixes: 5014c311baa2b(block: fix bogus compiler warnings in blk-merge.c)
Cc: [email protected] #4.3
Reported-by: Michael Ellerman <[email protected]>
Reported-by: Mark Salter <[email protected]>
Tested-by: Laurent Dufour <[email protected]>
Tested-by: Mark Salter <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
