]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ublk: pass 'const struct ublk_io *' to ublk_[un]map_io()
authorMing Lei <ming.lei@redhat.com>
Sun, 13 Jul 2025 14:34:05 +0000 (22:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Jul 2025 14:04:16 +0000 (08:04 -0600)
commitef92541d99c1c1319e5254d5f5380959962abb87
treeb6dac770f613cf03799057ddee51ef03ec1f4db2
parentb749965edda8fcf0fd3e188c56845e991eaa63c9
ublk: pass 'const struct ublk_io *' to ublk_[un]map_io()

Pass 'const struct ublk_io *' to ublk_[un]map_io() since just io->addr
and io->res are read in the two helpers.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250713143415.2857561-11-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c