mirror of https://gitee.com/openkylin/linux.git
missing return in bridge sysfs code
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>
This commit is contained in:
parent
6ec8a856e4
commit
35b426c329
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue