All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.