Skip to content
Commit 7a102d90 authored by Jackie Liu's avatar Jackie Liu Committed by Jens Axboe
Browse files

block/bio-integrity: use struct_size() in kmalloc()



Use the new struct_size() helper to keep code simple.

Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarJackie Liu <liuyun01@kylinos.cn>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 47ca23c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment