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:
6ec8a85
)
missing return in bridge sysfs code
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 19 Aug 2007 03:51:26 +0000
(
04:51
+0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 19 Aug 2007 17:32:31 +0000
(10:32 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/bridge/br_sysfs_br.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_sysfs_br.c
b/net/bridge/br_sysfs_br.c
index 88f43003b193ad0c3919b2f58f37e4d65346e9f3..c65f54e0e27febec09a75df717374ed05d015e11 100644
(file)
--- a/
net/bridge/br_sysfs_br.c
+++ b/
net/bridge/br_sysfs_br.c
@@
-167,6
+167,7
@@
static ssize_t store_stp_state(struct device *d,
br_stp_set_enabled(br, val);
rtnl_unlock();
+ return len;
}
static DEVICE_ATTR(stp_state, S_IRUGO | S_IWUSR, show_stp_state,
store_stp_state);