* block/mq-deadline.c:274:12: error: 'dd_queued' defined but not used [-Werror=unused-function]
@ 2021-09-06 12:35 Naresh Kamboju
0 siblings, 0 replies; only message in thread
From: Naresh Kamboju @ 2021-09-06 12:35 UTC (permalink / raw)
To: Linux ARM, open list, linux-block, lkft-triage
Cc: Jens Axboe, Arnd Bergmann, Bart Van Assche
Following build warnings/ errors noticed while building linux mainline
master branch
with gcc-11 for arm architecture with clps711x_defconfig config file.
block/mq-deadline.c:274:12: error: 'dd_queued' defined but not used
[-Werror=unused-function]
274 | static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio)
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/builds/linux/scripts/Makefile.build:277:
block/mq-deadline.o] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/builds/linux/Makefile:1872: block] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target '__all' not remade because of errors.
Build config:
https://builds.tuxbuild.com/1xjZuKPY0IygLQHFkTFMY9TPQh4/config
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
meta data:
-----------
git_describe: v5.14-9687-g27151f177827
git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline
git_sha: 27151f177827d478508e756c7657273261aaf8a9
git_short_log: 27151f177827 (\Merge tag
'perf-tools-for-v5.15-2021-09-04' of
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux\)
kconfig: [
clps711x_defconfig
]
kernel_version: 5.14.0
target_arch: arm
toolchain: gcc-11
steps to reproduce:
https://builds.tuxbuild.com/1xjZuKPY0IygLQHFkTFMY9TPQh4/tuxmake_reproducer.sh
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-06 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 12:35 block/mq-deadline.c:274:12: error: 'dd_queued' defined but not used [-Werror=unused-function] Naresh Kamboju
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).