]> git.karo-electronics.de Git - linux-beck.git/commitdiff
bridge: change "foo* bar" to "foo *bar"
authortanxiaojun <tanxiaojun@huawei.com>
Thu, 19 Dec 2013 05:28:13 +0000 (13:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2013 00:27:26 +0000 (19:27 -0500)
"foo * bar" should be "foo *bar".

Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c
net/bridge/br_sysfs_if.c

index 80cad2cf02a76d03e4f33a955f2e56dacd25d3b7..b008c59a92c4be8dbc5812606ad76777e17d90ae 100644 (file)
@@ -1001,7 +1001,7 @@ static struct nf_hook_ops br_nf_ops[] __read_mostly = {
 #ifdef CONFIG_SYSCTL
 static
 int brnf_sysctl_call_tables(struct ctl_table *ctl, int write,
-                           void __user * buffer, size_t * lenp, loff_t * ppos)
+                           void __user *buffer, size_t *lenp, loff_t *ppos)
 {
        int ret;
 
index 1549b26ad4e5fd9642eb8e8c11be9ac2fc667ee0..dd595bd7fa820444f6e8c424eb7dd4f307998af2 100644 (file)
@@ -209,21 +209,21 @@ static const struct brport_attribute *brport_attrs[] = {
 #define to_brport_attr(_at) container_of(_at, struct brport_attribute, attr)
 #define to_brport(obj) container_of(obj, struct net_bridge_port, kobj)
 
-static ssize_t brport_show(struct kobject * kobj,
-                          struct attribute * attr, char * buf)
+static ssize_t brport_show(struct kobject *kobj,
+                          struct attribute *attr, char *buf)
 {
-       struct brport_attribute * brport_attr = to_brport_attr(attr);
-       struct net_bridge_port * p = to_brport(kobj);
+       struct brport_attribute *brport_attr = to_brport_attr(attr);
+       struct net_bridge_port *p = to_brport(kobj);
 
        return brport_attr->show(p, buf);
 }
 
-static ssize_t brport_store(struct kobject * kobj,
-                           struct attribute * attr,
-                           const char * buf, size_t count)
+static ssize_t brport_store(struct kobject *kobj,
+                           struct attribute *attr,
+                           const char *buf, size_t count)
 {
-       struct brport_attribute * brport_attr = to_brport_attr(attr);
-       struct net_bridge_port * p = to_brport(kobj);
+       struct brport_attribute *brport_attr = to_brport_attr(attr);
+       struct net_bridge_port *p = to_brport(kobj);
        ssize_t ret = -EINVAL;
        char *endp;
        unsigned long val;