aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2016-12-03 19:33:23 +0800
committerDavid S. Miller <[email protected]>2016-12-05 13:26:22 -0500
commitb59589635ff01cc25270360709eeeb5c45c6abb9 (patch)
treeab5c7b39e13735739f41a8a2eb9cc18bcd14ccda /scripts/gdb/linux/symbols.py
parent14dd3e1b970feb125e4f453bc3b0569db5b2069b (diff)
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 <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions