[clk:clk-lmk04832 2/3] drivers/clk/clk-lmk04832.c:1271:34: warning: unused variable 'lmk04832_of_id'

kernel test robot lkp at intel.com
Mon Jun 28 05:20:02 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-lmk04832
head:   6181baa177d417211ea28de793524ec3d13b256d
commit: 3bc61cfd6f4a57de32132075b15b0ac8987ced1d [2/3] clk: add support for the lmk04832
config: x86_64-randconfig-r035-20210628 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4c92e31dd0f1bd152eda883af20ff7fbcaa14945)
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/clk/linux.git/commit/?id=3bc61cfd6f4a57de32132075b15b0ac8987ced1d
        git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
        git fetch --no-tags clk clk-lmk04832
        git checkout 3bc61cfd6f4a57de32132075b15b0ac8987ced1d
        # 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 at intel.com>

All warnings (new ones prefixed by >>):

>> drivers/clk/clk-lmk04832.c:1271:34: warning: unused variable 'lmk04832_of_id' [-Wunused-const-variable]
   static const struct of_device_id lmk04832_of_id[] = {
                                    ^
   1 warning generated.


vim +/lmk04832_of_id +1271 drivers/clk/clk-lmk04832.c

  1270	
> 1271	static const struct of_device_id lmk04832_of_id[] = {
  1272		{ .compatible = "ti,lmk04832" },
  1273		{},
  1274	};
  1275	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 43155 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210628/b766d113/attachment-0001.gz>


More information about the linux-arm-kernel mailing list