On 5/15/24 7:28 AM, Mikulas Patocka wrote: > @@ -177,9 +177,9 @@ static inline int blk_integrity_rq(struc > return 0; > } > > -static inline struct bio_vec *rq_integrity_vec(struct request *rq) > +static inline struct bio_vec rq_integrity_vec(struct request *rq) > { > - return NULL; > + BUG(); > } > #endif /* CONFIG_BLK_DEV_INTEGRITY */ > #endif /* _LINUX_BLK_INTEGRITY_H */ Let's please not do that. If it's not used outside of CONFIG_BLK_DEV_INTEGRITY, it should just go away. -- Jens Axboe