From: kbuild test robot <fengguang.wu@intel.com>
To: Ying Xue <ying.xue@windriver.com>
Cc: kbuild-all@01.org, Sathya Perla <sathya.perla@avagotech.com>,
Ajit Khaparde <ajit.khaparde@avagotech.com>,
Padmanabh Ratnakar <padmanabh.ratnakar@avagotech.com>,
Sriharsha Basavapatna <sriharsha.basavapatna@avagotech.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH net-next] be2net: be_hwmon_show_temp() can be static
Date: Fri, 15 May 2015 03:02:35 +0800 [thread overview]
Message-ID: <20150514190234.GA103883@snb> (raw)
In-Reply-To: <201505150315.NZBccr7Q%fengguang.wu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
be_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index dc7c0fd..76d491f 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -5612,7 +5612,7 @@ static void be_remove(struct pci_dev *pdev)
free_netdev(adapter->netdev);
}
-ssize_t be_hwmon_show_temp(struct device *dev,
+static ssize_t be_hwmon_show_temp(struct device *dev,
struct device_attribute *dev_attr,
char *buf)
{
next prev parent reply other threads:[~2015-05-14 19:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 19:02 [net-next:master 353/365] drivers/net/ethernet/emulex/benet/be_main.c:5473:9: sparse: symbol 'be_hwmon_show_temp' was not declared. Should it be static? kbuild test robot
2015-05-14 19:02 ` kbuild test robot [this message]
2015-05-14 21:39 ` [PATCH net-next] be2net: be_hwmon_show_temp() can be static David Miller
2015-05-15 5:19 ` Fengguang Wu
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=20150514190234.GA103883@snb \
--to=fengguang.wu@intel.com \
--cc=ajit.khaparde@avagotech.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=padmanabh.ratnakar@avagotech.com \
--cc=sathya.perla@avagotech.com \
--cc=sriharsha.basavapatna@avagotech.com \
--cc=ying.xue@windriver.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: 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;
as well as URLs for NNTP newsgroup(s).