projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9449c3c
)
switchdev: sparse warning: make __switchdev_port_obj_add static
author
Scott Feldman
<sfeldma@gmail.com>
Wed, 13 May 2015 06:03:51 +0000
(23:03 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 13 May 2015 16:26:27 +0000
(12:26 -0400)
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/switchdev/switchdev.c
patch
|
blob
|
history
diff --git
a/net/switchdev/switchdev.c
b/net/switchdev/switchdev.c
index 65d49d4477b912d4a2e3d3beb1ce24a59f77c4bc..a267f7728165f07d9842d4373fb7c16c5affe9d0 100644
(file)
--- a/
net/switchdev/switchdev.c
+++ b/
net/switchdev/switchdev.c
@@
-188,7
+188,8
@@
int switchdev_port_attr_set(struct net_device *dev, struct switchdev_attr *attr)
}
EXPORT_SYMBOL_GPL(switchdev_port_attr_set);
-int __switchdev_port_obj_add(struct net_device *dev, struct switchdev_obj *obj)
+static int __switchdev_port_obj_add(struct net_device *dev,
+ struct switchdev_obj *obj)
{
const struct switchdev_ops *ops = dev->switchdev_ops;
struct net_device *lower_dev;