diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:35 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:23 -0500 |
commit | 9d6f229fc45b6ac268020c0c8eff29e94bb34381 (patch) | |
tree | c8f514f2f13ea563256d97a2627aac9f89c57bf5 /net/bridge/br_sysfs_br.c | |
parent | 8e87d14255acffeee36873de226dc25c11b5f46d (diff) |
[NET] BRIDGE: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_sysfs_br.c')
-rw-r--r-- | net/bridge/br_sysfs_br.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index ce10464716a7..01a22ad0cc75 100644 --- a/net/bridge/br_sysfs_br.c +++ b/net/bridge/br_sysfs_br.c | |||
@@ -353,19 +353,19 @@ static ssize_t brforward_read(struct kobject *kobj, char *buf, | |||
353 | if (off % sizeof(struct __fdb_entry) != 0) | 353 | if (off % sizeof(struct __fdb_entry) != 0) |
354 | return -EINVAL; | 354 | return -EINVAL; |
355 | 355 | ||
356 | n = br_fdb_fillbuf(br, buf, | 356 | n = br_fdb_fillbuf(br, buf, |
357 | count / sizeof(struct __fdb_entry), | 357 | count / sizeof(struct __fdb_entry), |
358 | off / sizeof(struct __fdb_entry)); | 358 | off / sizeof(struct __fdb_entry)); |
359 | 359 | ||
360 | if (n > 0) | 360 | if (n > 0) |
361 | n *= sizeof(struct __fdb_entry); | 361 | n *= sizeof(struct __fdb_entry); |
362 | 362 | ||
363 | return n; | 363 | return n; |
364 | } | 364 | } |
365 | 365 | ||
366 | static struct bin_attribute bridge_forward = { | 366 | static struct bin_attribute bridge_forward = { |
367 | .attr = { .name = SYSFS_BRIDGE_FDB, | 367 | .attr = { .name = SYSFS_BRIDGE_FDB, |
368 | .mode = S_IRUGO, | 368 | .mode = S_IRUGO, |
369 | .owner = THIS_MODULE, }, | 369 | .owner = THIS_MODULE, }, |
370 | .read = brforward_read, | 370 | .read = brforward_read, |
371 | }; | 371 | }; |
@@ -401,7 +401,7 @@ int br_sysfs_addbr(struct net_device *dev) | |||
401 | goto out2; | 401 | goto out2; |
402 | } | 402 | } |
403 | 403 | ||
404 | 404 | ||
405 | kobject_set_name(&br->ifobj, SYSFS_BRIDGE_PORT_SUBDIR); | 405 | kobject_set_name(&br->ifobj, SYSFS_BRIDGE_PORT_SUBDIR); |
406 | br->ifobj.ktype = NULL; | 406 | br->ifobj.ktype = NULL; |
407 | br->ifobj.kset = NULL; | 407 | br->ifobj.kset = NULL; |