* [PATCH] missing return in bridge sysfs code
@ 2007-08-19 3:51 Al Viro
2007-08-19 5:28 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2007-08-19 3:51 UTC (permalink / raw)
To: Linus Torvalds; +Cc: shemminger, linux-kernel
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c
index 88f4300..c65f54e 100644
--- 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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] missing return in bridge sysfs code
2007-08-19 3:51 [PATCH] missing return in bridge sysfs code Al Viro
@ 2007-08-19 5:28 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-08-19 5:28 UTC (permalink / raw)
To: viro; +Cc: torvalds, shemminger, linux-kernel
From: Al Viro <viro@ftp.linux.org.uk>
Date: Sun, 19 Aug 2007 04:51:26 +0100
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Thanks for catching this Al.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-19 5:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-19 3:51 [PATCH] missing return in bridge sysfs code Al Viro
2007-08-19 5:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox