diff options
author | Sergio Paracuellos <[email protected]> | 2020-12-13 17:17:16 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-01-04 15:38:34 +0100 |
commit | 7391031be7aa50583aea09bc00a37a74f64c1350 (patch) | |
tree | db82f2a4025057175935d8ddc675325bd4a71330 /net/unix/sysctl_net_unix.c | |
parent | 53abfe67f024ab8eeac101d05703a49e7e154b67 (diff) |
pinctrl: ralink: rt2880: return proper error code
Check for NULL shall return '-ENOMEM' instead of '-1'.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sergio Paracuellos <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions