aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2021-08-30 09:11:28 +0000
committerJens Axboe <[email protected]>2021-09-02 12:34:45 +0000
commit55a51ea14094a1e7dd0d7f33237d246033dd39ab (patch)
treef15b10168ef9c63cba5cd57564cd5d4f0ec25f03 /scripts/clang-tools/gen_compile_commands.py
parentMerge tag 'docs-5.15' of git://git.lwn.net/linux (diff)
downloadkernel-55a51ea14094a1e7dd0d7f33237d246033dd39ab.tar.gz
kernel-55a51ea14094a1e7dd0d7f33237d246033dd39ab.zip
block/mq-deadline: Move dd_queued() to fix defined but not used warning
If CONFIG_BLK_DEBUG_FS=n: block/mq-deadline.c:274:12: warning: ‘dd_queued’ defined but not used [-Wunused-function] 274 | static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio) | ^~~~~~~~~ Fix this by moving dd_queued() just before the sole function that calls it. Fixes: 7b05bf771084ff78 ("Revert "block/mq-deadline: Prioritize high-priority requests"") Signed-off-by: Geert Uytterhoeven <[email protected]> Fixes: 38ba64d12d4c ("block/mq-deadline: Track I/O statistics") Reviewed-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions