From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AFB9C433B4 for ; Wed, 28 Apr 2021 03:12:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2165E61040 for ; Wed, 28 Apr 2021 03:12:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235516AbhD1DNg (ORCPT ); Tue, 27 Apr 2021 23:13:36 -0400 Received: from mga11.intel.com ([192.55.52.93]:18980 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbhD1DNe (ORCPT ); Tue, 27 Apr 2021 23:13:34 -0400 IronPort-SDR: tdoOb3bYQpq8rUZLg0jEalW0acJdThjiGDMaC+2jOgAUW1eq3BGYeFKc9dnlYqyKHVQibee7li 4znBodYQIihw== X-IronPort-AV: E=McAfee;i="6200,9189,9967"; a="193455007" X-IronPort-AV: E=Sophos;i="5.82,257,1613462400"; d="scan'208";a="193455007" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2021 20:12:49 -0700 IronPort-SDR: rs1EmMJ/H/NunbGeVX5vVKN8k1uXcTY4kBtfm+FIktheSAq+i7m2ZRGdJCqSaXJirKAgUXQFba xdh9xhtkQ+dQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,257,1613462400"; d="scan'208";a="615873620" Received: from lkp-server01.sh.intel.com (HELO a48ff7ddd223) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 27 Apr 2021 20:12:45 -0700 Received: from kbuild by a48ff7ddd223 with local (Exim 4.92) (envelope-from ) id 1lbad3-0006uP-8k; Wed, 28 Apr 2021 03:12:45 +0000 Date: Wed, 28 Apr 2021 11:12:03 +0800 From: kernel test robot To: Lizhi Hou , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Lizhi Hou , 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 Message-ID: <20210428031203.GA10476@2bf684b2bf2b> References: <20210427205431.23896-21-lizhi.hou@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210427205431.23896-21-lizhi.hou@xilinx.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: kernel test robot --- 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 };