diff options
author | Bart Van Assche <[email protected]> | 2024-12-12 13:29:41 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-12-13 08:09:43 -0700 |
commit | a6fe7b70513fbf11ffa5e85f7b6ba444497a5a3d (patch) | |
tree | 7792be67f3b638125107dfe22b1d3d8b221e831b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 312ccd4b755a09dc44e8a25f9c9526a4587ab53c (diff) |
block: Fix queue_iostats_passthrough_show()
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
Cc: Keith Busch <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Fixes: 110234da18ab ("block: enable passthrough command statistics")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions