llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* drivers/fpga/versal-fpga.c:78:34: warning: unused variable 'versal_fpga_of_match'
@ 2024-01-26  8:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-26  8:14 UTC (permalink / raw)
  To: Nava kishore Manne
  Cc: llvm, oe-kbuild-all, linux-kernel, Moritz Fischer,
	Appana Durga Kedareswara rao

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7
commit: 01c54e628932c655e4cd2c6ed0cc688ec6e6f96b fpga: versal-fpga: Add versal fpga manager driver
date:   2 years, 6 months ago
config: x86_64-buildonly-randconfig-003-20240107 (https://download.01.org/0day-ci/archive/20240126/202401261611.Ee3FjLdD-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240126/202401261611.Ee3FjLdD-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401261611.Ee3FjLdD-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/fpga/versal-fpga.c:78:34: warning: unused variable 'versal_fpga_of_match' [-Wunused-const-variable]
      78 | static const struct of_device_id versal_fpga_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/versal_fpga_of_match +78 drivers/fpga/versal-fpga.c

    77	
  > 78	static const struct of_device_id versal_fpga_of_match[] = {
    79		{ .compatible = "xlnx,versal-fpga", },
    80		{},
    81	};
    82	MODULE_DEVICE_TABLE(of, versal_fpga_of_match);
    83	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2024-01-26  8:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-26  8:14 drivers/fpga/versal-fpga.c:78:34: warning: unused variable 'versal_fpga_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).