[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207231223.j1VC50Wj-lkp@intel.com>
Date: Sat, 23 Jul 2022 12:26:01 +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: drivers/media/platform/renesas/rcar_drif.c:1470:34: warning: unused
variable 'rcar_drif_of_table'
Hi Mauro,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 70664fc10c0d722ec79d746d8ac1db8546c94114
commit: ee4a77a32b39064fdab0aa2b36bbd35ebf57e077 media: platform: place Renesas drivers on a separate dir
date: 4 months ago
config: hexagon-randconfig-r034-20220721 (https://download.01.org/0day-ci/archive/20220723/202207231223.j1VC50Wj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0c1b32717bcffcf8edf95294e98933bd4c1e76ed)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ee4a77a32b39064fdab0aa2b36bbd35ebf57e077
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ee4a77a32b39064fdab0aa2b36bbd35ebf57e077
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/platform/renesas/
If you fix the issue, kindly add following tag where applicable
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
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1466
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1467 static SIMPLE_DEV_PM_OPS(rcar_drif_pm_ops, rcar_drif_suspend,
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1468 rcar_drif_resume);
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1469
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 @1470 static const struct of_device_id rcar_drif_of_table[] = {
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1471 { .compatible = "renesas,rcar-gen3-drif" },
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1472 { }
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1473 };
7625ee981af166d drivers/media/platform/rcar_drif.c Ramesh Shanmugasundaram 2017-06-12 1474 MODULE_DEVICE_TABLE(of, rcar_drif_of_table);
7625ee981af166d 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://01.org/lkp
Powered by blists - more mailing lists