[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111041723.VD7CzUHM-lkp@intel.com>
Date: Thu, 4 Nov 2021 17:19:32 +0800
From: kernel test robot <lkp@...el.com>
To: Martin Kepplinger <martin.kepplinger@...i.sm>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media@...r.kernel.org, Pavel Machek <pavel@....cz>,
Sakari Ailus <sakari.ailus@...ux.intel.com>
Subject: drivers/media/i2c/hi846.c:2169:34: warning: unused variable
'hi846_of_match'
Hi Martin,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e8c0882685f9152f0d729664a12bcbe749cb7736 media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera
date: 4 weeks ago
config: x86_64-randconfig-r035-20211103 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 264d3b6d4e08401c5b50a85bd76e80b3461d77e6)
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=e8c0882685f9152f0d729664a12bcbe749cb7736
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e8c0882685f9152f0d729664a12bcbe749cb7736
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
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/i2c/hi846.c:2169:34: warning: unused variable 'hi846_of_match' [-Wunused-const-variable]
static const struct of_device_id hi846_of_match[] = {
^
1 warning generated.
vim +/hi846_of_match +2169 drivers/media/i2c/hi846.c
2168
> 2169 static const struct of_device_id hi846_of_match[] = {
2170 { .compatible = "hynix,hi846", },
2171 {},
2172 };
2173 MODULE_DEVICE_TABLE(of, hi846_of_match);
2174
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (38137 bytes)
Powered by blists - more mailing lists