diff options
author | 2020-12-13 17:17:16 +0100 | |
---|---|---|
committer | 2021-01-04 15:38:34 +0100 | |
commit | 7391031be7aa50583aea09bc00a37a74f64c1350 (patch) | |
tree | db82f2a4025057175935d8ddc675325bd4a71330 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | pinctrl: ralink: rt2880: avoid double pointer to simplify code (diff) | |
download | linux-dev-7391031be7aa50583aea09bc00a37a74f64c1350.tar.xz linux-dev-7391031be7aa50583aea09bc00a37a74f64c1350.zip |
pinctrl: ralink: rt2880: return proper error code
Check for NULL shall return '-ENOMEM' instead of '-1'.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201213161721.6514-4-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions