[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311161306.opyfcoCY-lkp@intel.com>
Date: Thu, 16 Nov 2023 14:03:35 +0800
From: kernel test robot <lkp@...el.com>
To: Aswath Govindraju <a-govindraju@...com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Vinod Koul <vkoul@...nel.org>
Subject: drivers/mux/adg792a.c:134:34: warning: 'adg792a_of_match' defined
but not used
Hi Aswath,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c42d9eeef8e5ba9292eda36fd8e3c11f35ee065c
commit: e4d4371253029528c02bfb43a46c252e1c3d035f phy: phy-can-transceiver: Add support for setting mux
date: 1 year, 7 months ago
config: x86_64-randconfig-x012-20230629 (https://download.01.org/0day-ci/archive/20231116/202311161306.opyfcoCY-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231116/202311161306.opyfcoCY-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311161306.opyfcoCY-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/mux/adg792a.c:134:34: warning: 'adg792a_of_match' defined but not used [-Wunused-const-variable=]
134 | static const struct of_device_id adg792a_of_match[] = {
| ^~~~~~~~~~~~~~~~
vim +/adg792a_of_match +134 drivers/mux/adg792a.c
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 133
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 @134 static const struct of_device_id adg792a_of_match[] = {
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 135 { .compatible = "adi,adg792a", },
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 136 { .compatible = "adi,adg792g", },
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 137 { }
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 138 };
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 139 MODULE_DEVICE_TABLE(of, adg792a_of_match);
afda08c4caa94895 drivers/mux/mux-adg792a.c Peter Rosin 2017-05-14 140
:::::: The code at line 134 was first introduced by commit
:::::: afda08c4caa9489511557def51e322a5f2142a2f mux: adg792a: add mux controller driver for ADG792A/G
:::::: TO: Peter Rosin <peda@...ntia.se>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists