commit | 79c37ca73a6e9a33f7b2b7783ba6af07a448c8a9 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Jan 25 13:14:25 2022 +0100 |
committer | Stefan Schmidt <stefan@datenfreihafen.org> | Thu Jan 27 08:20:47 2022 +0100 |
tree | 36ff4aa896f5f93138409aeab1530c2f102ce20a | |
parent | 621b24b09eb61c63f262da0c9c5f0e93348897e5 [diff] |
net: ieee802154: Return meaningful error codes from the netlink helpers Returning -1 does not indicate anything useful. Use a standard and meaningful error code instead. Fixes: a26c5fd7622d ("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>