Messages in this thread | | | Date | Mon, 15 Jun 2020 14:22:33 +0800 | From | kernel test robot <> | Subject | drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable 'imx8_soc_match' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 08bf1a27c4c354b853fd81a79e953525bbcc8506 commit: fc40200ebf82fae3e40c4e88246496644edafe66 soc: imx: increase build coverage for imx8m soc driver date: 3 months ago :::::: branch date: 42 minutes ago :::::: commit date: 3 months ago config: x86_64-randconfig-a015-20200614 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project c669a1ed6386d57a75a602b53266466dae1e1d84) 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 fc40200ebf82fae3e40c4e88246496644edafe66 # 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 >>, old ones prefixed by <<):
>> drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable 'imx8_soc_match' [-Wunused-const-variable] static const struct of_device_id imx8_soc_match[] = { ^ 1 warning generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc40200ebf82fae3e40c4e88246496644edafe66 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git remote update linus git checkout fc40200ebf82fae3e40c4e88246496644edafe66 vim +/imx8_soc_match +150 drivers/soc/imx/soc-imx8m.c
18f662a738629e drivers/soc/imx/soc-imx8.c Anson Huang 2019-12-26 149 a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa 2019-03-22 @150 static const struct of_device_id imx8_soc_match[] = { a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa 2019-03-22 151 { .compatible = "fsl,imx8mq", .data = &imx8mq_soc_data, }, 2b14b802adac2d drivers/soc/imx/soc-imx8.c Leonard Crestez 2019-05-13 152 { .compatible = "fsl,imx8mm", .data = &imx8mm_soc_data, }, db10496c0064ba drivers/soc/imx/soc-imx8.c Anson Huang 2019-06-19 153 { .compatible = "fsl,imx8mn", .data = &imx8mn_soc_data, }, 18f662a738629e drivers/soc/imx/soc-imx8.c Anson Huang 2019-12-26 154 { .compatible = "fsl,imx8mp", .data = &imx8mp_soc_data, }, a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa 2019-03-22 155 { } a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa 2019-03-22 156 }; a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa 2019-03-22 157
:::::: The code at line 150 was first introduced by commit :::::: a7e26f356ca12906a164d83c9e9f8527ee7da022 soc: imx: Add generic i.MX8 SoC driver
:::::: TO: Abel Vesa <abel.vesa@nxp.com> :::::: CC: Shawn Guo <shawnguo@kernel.org>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip]_______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-leave@lists.01.org
| |