On Thu, Dec 12, 2024 at 01:29:41PM -0800, Bart Van Assche wrote: > Make queue_iostats_passthrough_show() report 0/1 in sysfs instead of 0/4. > > This patch fixes the following sparse warning: > block/blk-sysfs.c:266:31: warning: incorrect type in argument 1 (different base types) > block/blk-sysfs.c:266:31: expected unsigned long var > block/blk-sysfs.c:266:31: got restricted blk_flags_t Maybe turn blk_queue_passthrough_stat into a an inline wrapper so that it automatically does the bool propagation and callers don't have to bother?