aboutsummaryrefslogtreecommitdiff
path: root/sound/virtio
diff options
context:
space:
mode:
authorMing Lei2022-04-14 16:44:43 +0800
committerJens Axboe2022-04-14 10:15:24 -0600
commit8535c0185d14ea41f0efd6a357961b05daf6687e (patch)
treee9c075b67cfb7fc756b503c90219c171b23cb41b /sound/virtio
parentb97687527be85a55e12804c98745c5619eadcc32 (diff)
block: fix offset/size check in bio_trim()
Unit of bio->bi_iter.bi_size is bytes, but unit of offset/size is sector. Fix the above issue in checking offset/size in bio_trim(). Fixes: e83502ca5f1e ("block: fix argument type of bio_trim()") Cc: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20220414084443.1736850-1-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound/virtio')
0 files changed, 0 insertions, 0 deletions