lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200806115104.GA134411@bf25ee3fa5a7>
Date:   Thu, 6 Aug 2020 19:51:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Felix Fietkau <nbd@....name>, netdev@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, Eric Dumazet <eric.dumazet@...il.com>,
        Hillf Danton <hdanton@...a.com>
Subject: [RFC PATCH] net: dev_attr_napi_threaded can be static


Signed-off-by: kernel test robot <lkp@...el.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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ