Thread (20 messages) 20 messages, 6 authors, 2020-09-25

[RFC PATCH] bonding: linkdesc can be static

flat view
STALE2226d

From: kernel test robot <hidden>
Date: 2020-09-23 04:14:36
Also in: lkml, oe-kbuild-all
Subsystem: bonding driver, networking drivers, the rest · Maintainers: Jay Vosburgh, Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Signed-off-by: kernel test robot <redacted>
---
 bond_procfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c
index 91ece68607b23..9b1b37a682728 100644
--- a/drivers/net/bonding/bond_procfs.c
+++ b/drivers/net/bonding/bond_procfs.c
@@ -8,7 +8,7 @@
 #include "bonding_priv.h"
 
 #ifdef CONFIG_BONDING_LEGACY_INTERFACES
-const char *linkdesc = "Slave";
+static const char *linkdesc = "Slave";
 #else
 const char *linkdesc = "Link";
 #endif
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help