Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bridge: change "foo* bar" to "foo *bar"

"foo * bar" should be "foo *bar".

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

authored by

tanxiaojun and committed by
David S. Miller
56b148eb 31a5b837

+10 -10
+1 -1
net/bridge/br_netfilter.c
··· 1001 1001 #ifdef CONFIG_SYSCTL 1002 1002 static 1003 1003 int brnf_sysctl_call_tables(struct ctl_table *ctl, int write, 1004 - void __user * buffer, size_t * lenp, loff_t * ppos) 1004 + void __user *buffer, size_t *lenp, loff_t *ppos) 1005 1005 { 1006 1006 int ret; 1007 1007
+9 -9
net/bridge/br_sysfs_if.c
··· 209 209 #define to_brport_attr(_at) container_of(_at, struct brport_attribute, attr) 210 210 #define to_brport(obj) container_of(obj, struct net_bridge_port, kobj) 211 211 212 - static ssize_t brport_show(struct kobject * kobj, 213 - struct attribute * attr, char * buf) 212 + static ssize_t brport_show(struct kobject *kobj, 213 + struct attribute *attr, char *buf) 214 214 { 215 - struct brport_attribute * brport_attr = to_brport_attr(attr); 216 - struct net_bridge_port * p = to_brport(kobj); 215 + struct brport_attribute *brport_attr = to_brport_attr(attr); 216 + struct net_bridge_port *p = to_brport(kobj); 217 217 218 218 return brport_attr->show(p, buf); 219 219 } 220 220 221 - static ssize_t brport_store(struct kobject * kobj, 222 - struct attribute * attr, 223 - const char * buf, size_t count) 221 + static ssize_t brport_store(struct kobject *kobj, 222 + struct attribute *attr, 223 + const char *buf, size_t count) 224 224 { 225 - struct brport_attribute * brport_attr = to_brport_attr(attr); 226 - struct net_bridge_port * p = to_brport(kobj); 225 + struct brport_attribute *brport_attr = to_brport_attr(attr); 226 + struct net_bridge_port *p = to_brport(kobj); 227 227 ssize_t ret = -EINVAL; 228 228 char *endp; 229 229 unsigned long val;