summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-11-27 09:30:39 +0100
committerJens Axboe <jens.axboe@oracle.com>2007-11-27 09:30:39 +0100
commit645a8d94629fd812a220d54876339a1ddafd9bc2 (patch)
treeea333b0ae1dd478e8a902a3bab780a1c6d673304 /drivers/cpuidle
parentRevert "ll_rw_blk: temporarily enable max_segments tweaking" (diff)
downloadlinux-645a8d94629fd812a220d54876339a1ddafd9bc2.tar.xz
linux-645a8d94629fd812a220d54876339a1ddafd9bc2.zip
scatterlist: add more safeguards
Add more safeguards to protect against misinterpreting a chain entry as a normal scatterlist and vice-versa. * Make sure the entry isn't a chain when assigning and reading a normal sg. * Clear offset and length when chaining. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions