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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 17 Jan 2021 07:20:58 +0800 From: kernel test robot <lkp@...el.com> To: Pavel Šimerda <code@...erda.eu>, netdev@...r.kernel.org Cc: kbuild-all@...ts.01.org, Pavel Šimerda <code@...erda.eu> Subject: [RFC PATCH] net: mdio: mdio_debug_fops can be static Reported-by: kernel test robot <lkp@...el.com> Signed-off-by: kernel test robot <lkp@...el.com> --- mdio-debugfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/mdio-debugfs.c b/drivers/net/phy/mdio-debugfs.c index abed40052c20a1d..f1c9a3c604714c2 100644 --- a/drivers/net/phy/mdio-debugfs.c +++ b/drivers/net/phy/mdio-debugfs.c @@ -151,7 +151,7 @@ static unsigned int mdio_debug_poll(struct file *file, poll_table *wait) return data->value == -1 ? POLLOUT : POLLIN; } -struct file_operations mdio_debug_fops = { +static struct file_operations mdio_debug_fops = { .owner = THIS_MODULE, .open = mdio_debug_open, .release = mdio_debug_release, @@ -181,7 +181,7 @@ void mdio_debugfs_remove(struct mii_bus *bus) } EXPORT_SYMBOL_GPL(mdio_debugfs_remove); -int __init mdio_debugfs_init(void) +static int __init mdio_debugfs_init(void) { mdio_debugfs_dentry = debugfs_create_dir("mdio", NULL); @@ -189,7 +189,7 @@ int __init mdio_debugfs_init(void) } module_init(mdio_debugfs_init); -void __exit mdio_debugfs_exit(void) +static void __exit mdio_debugfs_exit(void) { debugfs_remove(mdio_debugfs_dentry); }
Powered by blists - more mailing lists