All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxtv-media:master 363/410] drivers/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match'
@ 2020-09-26 21:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-26 21:05 UTC (permalink / raw)
  To: kbuild-all

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

Hi Alexandre,

First bad commit (maybe != root cause):

tree:   git://linuxtv.org/media_tree.git master
head:   e88349437654f9d1b3c144049b9990026f911e56
commit: cbd2dca74926c0e4610c40923cc786b732c9e8ef [363/410] remoteproc: scp: add COMPILE_TEST dependency
config: x86_64-randconfig-a001-20200927 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a83eb048cb9a75da7a07a9d5318bbdbf54885c87)
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 remote add linuxtv-media git://linuxtv.org/media_tree.git
        git fetch --no-tags linuxtv-media master
        git checkout cbd2dca74926c0e4610c40923cc786b732c9e8ef
        # 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/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match' [-Wunused-const-variable]
   static const struct of_device_id mtk_scp_of_match[] = {
                                    ^
   1 warning generated.

vim +/mtk_scp_of_match +645 drivers/remoteproc/mtk_scp.c

63c13d61eafe460 Erin Lo 2019-11-12  644  
63c13d61eafe460 Erin Lo 2019-11-12 @645  static const struct of_device_id mtk_scp_of_match[] = {
63c13d61eafe460 Erin Lo 2019-11-12  646  	{ .compatible = "mediatek,mt8183-scp"},
63c13d61eafe460 Erin Lo 2019-11-12  647  	{},
63c13d61eafe460 Erin Lo 2019-11-12  648  };
63c13d61eafe460 Erin Lo 2019-11-12  649  MODULE_DEVICE_TABLE(of, mtk_scp_of_match);
63c13d61eafe460 Erin Lo 2019-11-12  650  

:::::: The code at line 645 was first introduced by commit
:::::: 63c13d61eafe4606f1c16c54da40c4eee78e9edf remoteproc/mediatek: add SCP support for mt8183

:::::: TO: Erin Lo <erin.lo@mediatek.com>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.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: 39720 bytes --]

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

only message in thread, other threads:[~2020-09-26 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26 21:05 [linuxtv-media:master 363/410] drivers/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_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.