Searched hist:b59589635ff01cc25270360709eeeb5c45c6abb9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/bridge/ |
H A D | br_sysfs_br.c | diff b59589635ff01cc25270360709eeeb5c45c6abb9 Sat Dec 03 05:33:23 CST 2016 Pan Bian <bianpan2016@163.com> net: bridge: set error code on failure
Function br_sysfs_addbr() does not set error code when the call kobject_create_and_add() returns a NULL pointer. It may be better to return "-ENOMEM" when kobject_create_and_add() fails.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188781
Signed-off-by: Pan Bian <bianpan2016@163.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|