Skip to contentSkip to conversation

missing return in bridge sysfs code

PATCH In review Al Viro 2 participants 2 messages Aug 19, 2007

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 missing return in bridge sysfs code

---

net/bridge/br_sysfs_br.c +1 -0
index 88f4300..c65f54e 100644
@@ -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);