linux/net/ieee802154
Zhen Lei 79c6b8ed30 ieee802154: fix error return code in ieee802154_add_iface()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: be51da0f3e ("ieee802154: Stop using NLA_PUT*().")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210508062517.2574-1-thunder.leizhen@huawei.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
2021-06-03 10:50:08 +02:00
..
6lowpan treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
core.c drivers: Introduce device lookup variants by name 2019-07-30 13:07:41 +02:00
core.h
header_ops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
ieee802154.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
netlink.c genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
nl802154.c net: ieee802154: fix null deref in parse dev addr 2021-04-23 16:57:27 +02:00
nl802154.h
nl_policy.c nl802154: add missing attribute validation for dev_type 2020-03-03 13:28:48 -08:00
nl-mac.c net/ieee802154: drop unneeded assignment in llsec_iter_devkeys() 2021-06-03 10:09:36 +02:00
nl-phy.c ieee802154: fix error return code in ieee802154_add_iface() 2021-06-03 10:50:08 +02:00
rdev-ops.h
socket.c net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
sysfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
sysfs.h
trace.c
trace.h