OrangePi_CM5/net/ieee802154
Miquel Raynal 87b1c9fab6 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 <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220125121426.848337-6-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-08 18:30:37 +01:00
..
6lowpan
…
Kconfig
…
Makefile
…
core.c
…
core.h
…
header_ops.c
…
ieee802154.h
…
netlink.c
…
nl-mac.c ieee802154: fix error return code in ieee802154_llsec_getparams() 2021-06-10 13:39:19 +02:00
nl-phy.c ieee802154: fix error return code in ieee802154_add_iface() 2021-06-10 13:39:19 +02:00
nl802154.c net: ieee802154: Return meaningful error codes from the netlink helpers 2022-02-08 18:30:37 +01:00
nl802154.h
…
nl_policy.c
…
rdev-ops.h
…
socket.c net: Fix memory leak in ieee802154_raw_deliver 2021-08-18 08:59:12 +02:00
sysfs.c
…
sysfs.h
…
trace.c
…
trace.h
…