2007-08-19 03:51:37

by Al Viro

[permalink] [raw]
Subject: [PATCH] missing return in bridge sysfs code


Signed-off-by: Al Viro <[email protected]>
---
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);


2007-08-19 05:28:37

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] missing return in bridge sysfs code

From: Al Viro <[email protected]>
Date: Sun, 19 Aug 2007 04:51:26 +0100

>
> Signed-off-by: Al Viro <[email protected]>

Signed-off-by: David S. Miller <[email protected]>

Thanks for catching this Al.