On Fri, Dec 13, 2024 at 08:26:44AM -0800, Bart Van Assche wrote: > There are about 16 functions in include/linux/blkdev.h that test a single > bit in q->queue_flags or q->limits.features. Do you really want > me to convert all these macros into inline functions? Given that all of them could leak the __bitwise type that could be worthwhile. Alternatively we could also take a hard look at these helpers and check if they are even worth having and otherwise just open code the check for the bits.