From: kernel test robot <lkp@intel.com> To: Lizhi Hou <lizhi.hou@xilinx.com>, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Lizhi Hou <lizhi.hou@xilinx.com>, linux-fpga@vger.kernel.org, maxz@xilinx.com, sonal.santan@xilinx.com, yliu@xilinx.com, michal.simek@xilinx.com, stefanos@xilinx.com, devicetree@vger.kernel.org, trix@redhat.com Subject: [RFC PATCH] fpga: xrt: xmgnt_bridge_ops can be static Date: Wed, 28 Apr 2021 11:12:03 +0800 [thread overview] Message-ID: <20210428031203.GA10476@2bf684b2bf2b> (raw) In-Reply-To: <20210427205431.23896-21-lizhi.hou@xilinx.com> drivers/fpga/xrt/mgnt/xmgnt-main-region.c:71:30: warning: symbol 'xmgnt_bridge_ops' was not declared. Should it be static? Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> --- xmgnt-main-region.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/xrt/mgnt/xmgnt-main-region.c b/drivers/fpga/xrt/mgnt/xmgnt-main-region.c index 398fc816b1786..216f0e9652d47 100644 --- a/drivers/fpga/xrt/mgnt/xmgnt-main-region.c +++ b/drivers/fpga/xrt/mgnt/xmgnt-main-region.c @@ -68,7 +68,7 @@ static int xmgnt_br_enable_set(struct fpga_bridge *bridge, bool enable) return rc; } -const struct fpga_bridge_ops xmgnt_bridge_ops = { +static const struct fpga_bridge_ops xmgnt_bridge_ops = { .enable_set = xmgnt_br_enable_set };
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: [RFC PATCH] fpga: xrt: xmgnt_bridge_ops can be static Date: Wed, 28 Apr 2021 11:12:03 +0800 [thread overview] Message-ID: <20210428031203.GA10476@2bf684b2bf2b> (raw) In-Reply-To: <20210427205431.23896-21-lizhi.hou@xilinx.com> [-- Attachment #1: Type: text/plain, Size: 818 bytes --] drivers/fpga/xrt/mgnt/xmgnt-main-region.c:71:30: warning: symbol 'xmgnt_bridge_ops' was not declared. Should it be static? Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> --- xmgnt-main-region.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/xrt/mgnt/xmgnt-main-region.c b/drivers/fpga/xrt/mgnt/xmgnt-main-region.c index 398fc816b1786..216f0e9652d47 100644 --- a/drivers/fpga/xrt/mgnt/xmgnt-main-region.c +++ b/drivers/fpga/xrt/mgnt/xmgnt-main-region.c @@ -68,7 +68,7 @@ static int xmgnt_br_enable_set(struct fpga_bridge *bridge, bool enable) return rc; } -const struct fpga_bridge_ops xmgnt_bridge_ops = { +static const struct fpga_bridge_ops xmgnt_bridge_ops = { .enable_set = xmgnt_br_enable_set };
next prev parent reply other threads:[~2021-04-28 3:12 UTC|newest] Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-27 20:54 [PATCH V5 XRT Alveo 00/20] XRT Alveo driver overview Lizhi Hou 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 01/20] Documentation: fpga: Add a document describing XRT Alveo drivers Lizhi Hou 2021-04-28 19:40 ` Tom Rix 2021-05-03 23:00 ` Moritz Fischer 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 02/20] fpga: xrt: driver metadata helper functions Lizhi Hou 2021-05-01 20:19 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 03/20] fpga: xrt: xclbin file " Lizhi Hou 2021-05-03 13:00 ` Tom Rix 2021-05-03 23:19 ` Moritz Fischer 2021-05-05 17:21 ` Lizhi Hou 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 04/20] fpga: xrt: xrt-lib driver manager Lizhi Hou 2021-05-03 13:06 ` Tom Rix 2021-05-03 21:51 ` Lizhi Hou 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 05/20] fpga: xrt: group driver Lizhi Hou 2021-05-03 13:10 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 06/20] fpga: xrt: char dev node helper functions Lizhi Hou 2021-05-03 13:27 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 07/20] fpga: xrt: root driver infrastructure Lizhi Hou 2021-05-03 13:37 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 08/20] fpga: xrt: " Lizhi Hou 2021-05-03 13:46 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 09/20] fpga: xrt: management physical function driver (root) Lizhi Hou 2021-05-03 13:49 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 10/20] fpga: xrt: main driver for management function device Lizhi Hou 2021-05-04 13:50 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 11/20] fpga: xrt: fpga-mgr and region implementation for xclbin download Lizhi Hou 2021-05-04 13:56 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 12/20] fpga: xrt: VSEC driver Lizhi Hou 2021-05-04 14:00 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 13/20] fpga: xrt: User Clock Subsystem driver Lizhi Hou 2021-05-04 14:03 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 14/20] fpga: xrt: ICAP driver Lizhi Hou 2021-05-04 14:05 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 15/20] fpga: xrt: devctl xrt driver Lizhi Hou 2021-05-04 14:07 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 16/20] fpga: xrt: clock driver Lizhi Hou 2021-05-04 14:08 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 17/20] fpga: xrt: clock frequency counter driver Lizhi Hou 2021-05-04 14:10 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 18/20] fpga: xrt: DDR calibration driver Lizhi Hou 2021-05-04 14:11 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 19/20] fpga: xrt: partition isolation driver Lizhi Hou 2021-05-04 14:13 ` Tom Rix 2021-04-27 20:54 ` [PATCH V5 XRT Alveo 20/20] fpga: xrt: Kconfig and Makefile updates for XRT drivers Lizhi Hou 2021-04-27 23:53 ` kernel test robot 2021-04-27 23:53 ` kernel test robot 2021-04-28 3:12 ` kernel test robot 2021-04-28 3:12 ` kernel test robot 2021-04-28 3:12 ` kernel test robot [this message] 2021-04-28 3:12 ` [RFC PATCH] fpga: xrt: xmgnt_bridge_ops can be static kernel test robot 2021-05-04 14:18 ` [PATCH V5 XRT Alveo 20/20] fpga: xrt: Kconfig and Makefile updates for XRT drivers Tom Rix 2021-04-28 17:36 ` [PATCH V5 XRT Alveo 00/20] XRT Alveo driver overview Tom Rix
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=20210428031203.GA10476@2bf684b2bf2b \ --to=lkp@intel.com \ --cc=devicetree@vger.kernel.org \ --cc=kbuild-all@lists.01.org \ --cc=linux-fpga@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lizhi.hou@xilinx.com \ --cc=maxz@xilinx.com \ --cc=michal.simek@xilinx.com \ --cc=sonal.santan@xilinx.com \ --cc=stefanos@xilinx.com \ --cc=trix@redhat.com \ --cc=yliu@xilinx.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.