[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203182022.SpPMtxPN-lkp@intel.com>
Date: Fri, 18 Mar 2022 21:00:12 +0800
From: kernel test robot <lkp@...el.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
Laurent Pinchart <laurent.pinchart@...asonboard.com>
Subject: [mchehab-media-next:master 262/331]
drivers/media/platform/renesas/rcar_drif.c:1470:34: warning: unused variable
'rcar_drif_of_table'
Hi Mauro,
First bad commit (maybe != root cause):
tree: git://linuxtv.org/mchehab/media-next.git master
head: 47aa866f248c89b319b99ac7b21a0a961ed2264a
commit: ee4a77a32b39064fdab0aa2b36bbd35ebf57e077 [262/331] media: platform: place Renesas drivers on a separate dir
config: hexagon-randconfig-r015-20220317 (https://download.01.org/0day-ci/archive/20220318/202203182022.SpPMtxPN-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6e70e4056dff962ec634c5bd4f2f4105a0bef71)
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
git remote add mchehab-media-next git://linuxtv.org/mchehab/media-next.git
git fetch --no-tags mchehab-media-next master
git checkout ee4a77a32b39064fdab0aa2b36bbd35ebf57e077
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/platform/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/media/platform/renesas/rcar_drif.c:1470:34: warning: unused variable 'rcar_drif_of_table' [-Wunused-const-variable]
static const struct of_device_id rcar_drif_of_table[] = {
^
1 warning generated.
vim +/rcar_drif_of_table +1470 drivers/media/platform/renesas/rcar_drif.c
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1466
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1467 static SIMPLE_DEV_PM_OPS(rcar_drif_pm_ops, rcar_drif_suspend,
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1468 rcar_drif_resume);
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1469
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 @1470 static const struct of_device_id rcar_drif_of_table[] = {
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1471 { .compatible = "renesas,rcar-gen3-drif" },
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1472 { }
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1473 };
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1474 MODULE_DEVICE_TABLE(of, rcar_drif_of_table);
7625ee981af166 drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1475
:::::: The code at line 1470 was first introduced by commit
:::::: 7625ee981af166ddb569e2e6c0006e2af471326f [media] media: platform: rcar_drif: Add DRIF support
:::::: TO: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@...renesas.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@...pensource.com>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists