tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-5.10.y
head: 7a1519a74f3d0b06598fb95387688cde41e465d8
commit: 01e2c27b8a30e5fc2211d28fc9133d8eca37adc8 [457/1110] remoteproc/mtk_scp: surround
DT device IDs with CONFIG_OF
config: x86_64-randconfig-a001-20210120 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
22b68440e1647e16b5ee24b924986207173c02d1)
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 01e2c27b8a30e5fc2211d28fc9133d8eca37adc8
# 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(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/remoteproc/mtk_scp.c:755: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:765: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 +755 drivers/remoteproc/mtk_scp.c
63c13d61eafe4606 Erin Lo 2019-11-12 754
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 @755 static const struct mtk_scp_of_data
mt8183_of_data = {
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 756 .scp_before_load =
mt8183_scp_before_load,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 757 .scp_irq_handler =
mt8183_scp_irq_handler,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 758 .scp_reset_assert =
mt8183_scp_reset_assert,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 759 .scp_reset_deassert =
mt8183_scp_reset_deassert,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 760 .scp_stop = mt8183_scp_stop,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 761 .host_to_scp_reg = MT8183_HOST_TO_SCP,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 762 .host_to_scp_int_bit =
MT8183_HOST_IPC_INT_BIT,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 763 };
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 764
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 @765 static const struct mtk_scp_of_data
mt8192_of_data = {
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 766 .scp_before_load =
mt8192_scp_before_load,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 767 .scp_irq_handler =
mt8192_scp_irq_handler,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 768 .scp_reset_assert =
mt8192_scp_reset_assert,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 769 .scp_reset_deassert =
mt8192_scp_reset_deassert,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 770 .scp_stop = mt8192_scp_stop,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 771 .host_to_scp_reg = MT8192_GIPC_IN_SET,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 772 .host_to_scp_int_bit =
MT8192_HOST_IPC_INT_BIT,
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 773 };
fd0b6c1ff85a489b Pi-Hsun Shih 2020-09-21 774
:::::: The code at line 755 was first introduced by commit
:::::: fd0b6c1ff85a489bcf1bcf58af64da1aeffd39f0 remoteproc/mediatek: Add support for
mt8192 SCP
:::::: TO: Pi-Hsun Shih <pihsun(a)chromium.org>
:::::: CC: Bjorn Andersson <bjorn.andersson(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org