[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203012101.qgsgTBcz-lkp@intel.com>
Date: Tue, 1 Mar 2022 21:42:47 +0800
From: kernel test robot <lkp@...el.com>
To: Rex-BC Chen <rex-bc.chen@...iatek.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Matthias Brugger <matthias.bgg@...il.com>
Subject: [matthias-bgg:v5.17-next/soc 11/14]
drivers/soc/mediatek/mtk-mmsys.c:64:3: error: field designator
'sw0_rst_offset' does not refer to any field in type 'const struct
mtk_mmsys_driver_data'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git v5.17-next/soc
head: eb1b02bef52ae545d5eb24116d5c099f738d39d5
commit: 831785f0e5b919c29e1bc5f9a74e9ebd38289e24 [11/14] soc: mediatek: mmsys: add mmsys reset control for MT8186
config: mips-randconfig-r004-20220301 (https://download.01.org/0day-ci/archive/20220301/202203012101.qgsgTBcz-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?id=831785f0e5b919c29e1bc5f9a74e9ebd38289e24
git remote add matthias-bgg https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git
git fetch --no-tags matthias-bgg v5.17-next/soc
git checkout 831785f0e5b919c29e1bc5f9a74e9ebd38289e24
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/soc/mediatek/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/soc/mediatek/mtk-mmsys.c:64:3: error: field designator 'sw0_rst_offset' does not refer to any field in type 'const struct mtk_mmsys_driver_data'
.sw0_rst_offset = MT8186_MMSYS_SW0_RST_B,
^
1 error generated.
vim +64 drivers/soc/mediatek/mtk-mmsys.c
59
60 static const struct mtk_mmsys_driver_data mt8186_mmsys_driver_data = {
61 .clk_driver = "clk-mt8186-mm",
62 .routes = mmsys_mt8186_routing_table,
63 .num_routes = ARRAY_SIZE(mmsys_mt8186_routing_table),
> 64 .sw0_rst_offset = MT8186_MMSYS_SW0_RST_B,
65 };
66
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists