]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: also return bio_integrity_payload * from stubs
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 15:10:20 +0000 (17:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Jul 2024 16:21:16 +0000 (10:21 -0600)
commit21671a1ed1ff22e158ebe9d619943f926f03f5cd
tree58fe8482df7015c2c803e45fc13b11c80bb5714b
parentda042a3655151157c06e71a583e883ab2d86d1ff
block: also return bio_integrity_payload * from stubs

struct bio_integrity_payload is defined unconditionally. No need to
return void * from bio_integrity() and bio_integrity_alloc().

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240702151047.1746127-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio-integrity.h