All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 2161/6654] drivers/clk/imx/clk-imx8mm.c:641:34: warning: unused variable 'imx8mm_clk_of_match'
@ 2020-09-10 20:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-10 20:43 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2500 bytes --]

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-a011-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@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/clk/imx/clk-imx8mm.c:641:34: warning: unused variable 'imx8mm_clk_of_match' [-Wunused-const-variable]
   static const struct of_device_id imx8mm_clk_of_match[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9a976cd278eafa496ce30196810ef2e879a4a7d5
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 +/imx8mm_clk_of_match +641 drivers/clk/imx/clk-imx8mm.c

af7e7ee0e4280c Abel Vesa 2019-07-09  640  
af7e7ee0e4280c Abel Vesa 2019-07-09 @641  static const struct of_device_id imx8mm_clk_of_match[] = {
af7e7ee0e4280c Abel Vesa 2019-07-09  642  	{ .compatible = "fsl,imx8mm-ccm" },
af7e7ee0e4280c Abel Vesa 2019-07-09  643  	{ /* Sentinel */ },
af7e7ee0e4280c Abel Vesa 2019-07-09  644  };
af7e7ee0e4280c Abel Vesa 2019-07-09  645  MODULE_DEVICE_TABLE(of, imx8mm_clk_of_match);
af7e7ee0e4280c Abel Vesa 2019-07-09  646  

:::::: The code at line 641 was first introduced by commit
:::::: af7e7ee0e4280c29c41b6ec64b892bb53987a997 clk: imx8mm: Switch to platform 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40479 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-10 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 20:43 [linux-next:master 2161/6654] drivers/clk/imx/clk-imx8mm.c:641:34: warning: unused variable 'imx8mm_clk_of_match' kernel test robot

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.