summaryrefslogtreecommitdiffstats
path: root/scripts/extract_xc3028.pl
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2016-12-03 12:33:23 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-05 19:26:22 +0100
commitb59589635ff01cc25270360709eeeb5c45c6abb9 (patch)
treeab5c7b39e13735739f41a8a2eb9cc18bcd14ccda /scripts/extract_xc3028.pl
parentnet: af_mpls.c add space before open parenthesis (diff)
downloadlinux-b59589635ff01cc25270360709eeeb5c45c6abb9.tar.xz
linux-b59589635ff01cc25270360709eeeb5c45c6abb9.zip
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>
Diffstat (limited to 'scripts/extract_xc3028.pl')
0 files changed, 0 insertions, 0 deletions