tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7ce53e3a447bced7b85ed181c4d027e93c062e07
commit: 9a976cd278eafa496ce30196810ef2e879a4a7d5 [2161/6654] clk: imx8m: Support module
build
config: x86_64-randconfig-a015-20200910 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9)
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 checkout 9a976cd278eafa496ce30196810ef2e879a4a7d5
# 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/clk/imx/clk-imx8mp.c:757:34: warning: unused variable
'imx8mp_clk_of_match' [-Wunused-const-variable]
static const struct
of_device_id imx8mp_clk_of_match[] = {
^
1 warning generated.
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 9a976cd278eafa496ce30196810ef2e879a4a7d5
vim +/imx8mp_clk_of_match +757 drivers/clk/imx/clk-imx8mp.c
9c140d9926761b Anson Huang 2020-01-08 756
9c140d9926761b Anson Huang 2020-01-08 @757 static const struct of_device_id
imx8mp_clk_of_match[] = {
9c140d9926761b Anson Huang 2020-01-08 758 { .compatible = "fsl,imx8mp-ccm"
},
9c140d9926761b Anson Huang 2020-01-08 759 { /* Sentinel */ }
9c140d9926761b Anson Huang 2020-01-08 760 };
9c140d9926761b Anson Huang 2020-01-08 761 MODULE_DEVICE_TABLE(of, imx8mp_clk_of_match);
9c140d9926761b Anson Huang 2020-01-08 762
:::::: The code at line 757 was first introduced by commit
:::::: 9c140d9926761b0f5d329ff6c09a1540f3d5e1d3 clk: imx: Add support for i.MX8MP clock
driver
:::::: TO: Anson Huang <Anson.Huang(a)nxp.com>
:::::: CC: Shawn Guo <shawnguo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org