]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: make bio_integrity_map_user() static inline
authorJens Axboe <axboe@kernel.dk>
Fri, 29 Nov 2024 22:53:58 +0000 (15:53 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Dec 2024 15:19:09 +0000 (08:19 -0700)
commit546d191427cf5cf3215529744c2ea8558f0279db
tree6123bfc502f41f27a04622ccf01273c8bc7ed95a
parent3d8b5a22d40435b4a7e58f06ae2cd3506b222898
block: make bio_integrity_map_user() static inline

If CONFIG_BLK_DEV_INTEGRITY isn't set, then the dummy helper must be
static inline to avoid complaints about the function being unused.

Fixes: fe8f4ca7107e ("block: modify bio_integrity_map_user to accept iov_iter as argument")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411300229.y7h60mDg-lkp@intel.com/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio-integrity.h