From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-5.10 1/35] drivers/remoteproc/mtk_scp.c:854:37: warning: unused variable 'mt8183_of_data'
Date: Sat, 19 Jun 2021 08:38:34 +0800 [thread overview]
Message-ID: <202106190827.7Jwv339w-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4151 bytes --]
Hi Guenter,
FYI, the error/warning still remains.
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: e20fbb376bc6e238611a61cc84c070f5c73bf70c
commit: e2ab415f43ccbb60df9c64cf69ba6881d13738ad [1/35] FIXUP: FROMGIT: remoteproc/mtk_scp: surround DT device IDs with CONFIG_OF
config: x86_64-randconfig-a002-20210618 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout e2ab415f43ccbb60df9c64cf69ba6881d13738ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/remoteproc/mtk_scp.c:854:37: warning: unused variable 'mt8183_of_data' [-Wunused-const-variable]
static const struct mtk_scp_of_data mt8183_of_data = {
^
>> drivers/remoteproc/mtk_scp.c:866:37: warning: unused variable 'mt8192_of_data' [-Wunused-const-variable]
static const struct mtk_scp_of_data mt8192_of_data = {
^
2 warnings generated.
vim +/mt8183_of_data +854 drivers/remoteproc/mtk_scp.c
63c13d61eafe46 Erin Lo 2019-11-12 853
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 @854 static const struct mtk_scp_of_data mt8183_of_data = {
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 855 .scp_before_load = mt8183_scp_before_load,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 856 .scp_irq_handler = mt8183_scp_irq_handler,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 857 .scp_reset_assert = mt8183_scp_reset_assert,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 858 .scp_reset_deassert = mt8183_scp_reset_deassert,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 859 .scp_stop = mt8183_scp_stop,
1f52378f9cd441 Tzung-Bi Shih 2021-01-27 860 .scp_da_to_va = mt8183_scp_da_to_va,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 861 .host_to_scp_reg = MT8183_HOST_TO_SCP,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 862 .host_to_scp_int_bit = MT8183_HOST_IPC_INT_BIT,
2d98bf34a9d96b Tzung-Bi Shih 2020-12-02 863 .ipi_buf_offset = 0x7bdb0,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 864 };
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 865
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 @866 static const struct mtk_scp_of_data mt8192_of_data = {
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 867 .scp_before_load = mt8192_scp_before_load,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 868 .scp_irq_handler = mt8192_scp_irq_handler,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 869 .scp_reset_assert = mt8192_scp_reset_assert,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 870 .scp_reset_deassert = mt8192_scp_reset_deassert,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 871 .scp_stop = mt8192_scp_stop,
1f52378f9cd441 Tzung-Bi Shih 2021-01-27 872 .scp_da_to_va = mt8192_scp_da_to_va,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 873 .host_to_scp_reg = MT8192_GIPC_IN_SET,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 874 .host_to_scp_int_bit = MT8192_HOST_IPC_INT_BIT,
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 875 };
fd0b6c1ff85a48 Pi-Hsun Shih 2020-09-21 876
:::::: The code at line 854 was first introduced by commit
:::::: fd0b6c1ff85a489bcf1bcf58af64da1aeffd39f0 remoteproc/mediatek: Add support for mt8192 SCP
:::::: TO: Pi-Hsun Shih <pihsun@chromium.org>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37146 bytes --]
reply other threads:[~2021-06-19 0:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202106190827.7Jwv339w-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.