All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Felix Fietkau <nbd@nbd.name>, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, Eric Dumazet <eric.dumazet@gmail.com>,
	Hillf Danton <hdanton@sina.com>
Subject: [RFC PATCH] net: dev_attr_napi_threaded can be static
Date: Thu, 6 Aug 2020 19:51:04 +0800	[thread overview]
Message-ID: <20200806115104.GA134411@bf25ee3fa5a7> (raw)
In-Reply-To: <20200806095558.82780-1-nbd@nbd.name>


Signed-off-by: kernel test robot <lkp@intel.com>
---
 net-sysfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index 8765e075d7e94..2fbbf4b818df4 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -510,7 +510,7 @@ static ssize_t napi_threaded_show(struct device *dev,
 
 	return sprintf(buf, fmt_dec, enabled);
 }
-DEVICE_ATTR_RW(napi_threaded);
+static DEVICE_ATTR_RW(napi_threaded);
 
 static ssize_t phys_port_id_show(struct device *dev,
 				 struct device_attribute *attr, char *buf)

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH] net: dev_attr_napi_threaded can be static
Date: Thu, 06 Aug 2020 19:51:04 +0800	[thread overview]
Message-ID: <20200806115104.GA134411@bf25ee3fa5a7> (raw)
In-Reply-To: <20200806095558.82780-1-nbd@nbd.name>

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]


Signed-off-by: kernel test robot <lkp@intel.com>
---
 net-sysfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index 8765e075d7e94..2fbbf4b818df4 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -510,7 +510,7 @@ static ssize_t napi_threaded_show(struct device *dev,
 
 	return sprintf(buf, fmt_dec, enabled);
 }
-DEVICE_ATTR_RW(napi_threaded);
+static DEVICE_ATTR_RW(napi_threaded);
 
 static ssize_t phys_port_id_show(struct device *dev,
 				 struct device_attribute *attr, char *buf)

  parent reply	other threads:[~2020-08-06 16:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06  9:55 [PATCH v2] net: add support for threaded NAPI polling Felix Fietkau
2020-08-06 11:51 ` kernel test robot
2020-08-06 11:51   ` kernel test robot
2020-08-06 11:51 ` kernel test robot [this message]
2020-08-06 11:51   ` [RFC PATCH] net: dev_attr_napi_threaded can be static kernel test robot
2020-08-06 17:39 ` [PATCH v2] net: add support for threaded NAPI polling Eric Dumazet
2020-08-06 18:55 ` Jakub Kicinski
2020-08-06 19:25   ` Eric Dumazet
2020-08-06 19:57     ` Jakub Kicinski
2020-08-06 21:18       ` Eric Dumazet
2020-08-06 22:48 ` Wei Wang

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=20200806115104.GA134411@bf25ee3fa5a7 \
    --to=lkp@intel.com \
    --cc=eric.dumazet@gmail.com \
    --cc=hdanton@sina.com \
    --cc=kbuild-all@lists.01.org \
    --cc=nbd@nbd.name \
    --cc=netdev@vger.kernel.org \
    /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 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.