android_kernel_motorola_sm6375/net/ieee802154
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Miquel Raynal dc8c2f0d01 net: ieee802154: Return meaningful error codes from the netlink helpers
commit 79c37ca73a6e9a33f7b2b7783ba6af07a448c8a9 upstream.

Returning -1 does not indicate anything useful.

Use a standard and meaningful error code instead.

Fixes: a26c5fd762 ("nl802154: add support for security layer")
Signed-off-by: Miquel Raynal <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-02-08 18:24:31 +01:00
..
6lowpan
core.c
core.h
header_ops.c
ieee802154.h
Kconfig
Makefile
netlink.c
nl-mac.c ieee802154: fix error return code in ieee802154_llsec_getparams() 2021-06-10 13:37:05 +02:00
nl-phy.c ieee802154: fix error return code in ieee802154_add_iface() 2021-06-10 13:37:05 +02:00
nl802154.c net: ieee802154: Return meaningful error codes from the netlink helpers 2022-02-08 18:24:31 +01:00
nl802154.h
nl_policy.c
rdev-ops.h
socket.c net: Fix memory leak in ieee802154_raw_deliver 2021-08-18 08:57:00 +02:00
sysfs.c
sysfs.h
trace.c
trace.h