From: kernel test robot <lkp@intel.com>
To: Nava kishore Manne <nava.manne@xilinx.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Moritz Fischer <mdf@kernel.org>,
Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Subject: drivers/fpga/versal-fpga.c:78:34: warning: 'versal_fpga_of_match' defined but not used
Date: Sun, 23 Feb 2025 00:18:23 +0800 [thread overview]
Message-ID: <202502230042.owPXHbB7-lkp@intel.com> (raw)
Hi Nava,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ff202c5028a195c07b16e1a2fbb8ca6b7ba11a1c
commit: 01c54e628932c655e4cd2c6ed0cc688ec6e6f96b fpga: versal-fpga: Add versal fpga manager driver
date: 3 years, 7 months ago
config: sh-randconfig-r023-20230105 (https://download.01.org/0day-ci/archive/20250223/202502230042.owPXHbB7-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250223/202502230042.owPXHbB7-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/202502230042.owPXHbB7-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/fpga/versal-fpga.c:78:34: warning: 'versal_fpga_of_match' defined but not used [-Wunused-const-variable=]
78 | static const struct of_device_id versal_fpga_of_match[] = {
| ^~~~~~~~~~~~~~~~~~~~
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
next reply other threads:[~2025-02-22 16:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-22 16:18 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-14 22:54 drivers/fpga/versal-fpga.c:78:34: warning: 'versal_fpga_of_match' defined but not used kernel test robot
2025-01-08 20:49 kernel test robot
2023-11-06 8:28 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202502230042.owPXHbB7-lkp@intel.com \
--to=lkp@intel.com \
--cc=appana.durga.rao@xilinx.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@kernel.org \
--cc=nava.manne@xilinx.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox