diff options
author | 2024-03-06 17:19:45 +0100 | |
---|---|---|
committer | 2024-03-06 20:47:14 +0100 | |
commit | a0c807b5b65a73b321a5313662625a85b18a7037 (patch) | |
tree | 646cc8ea0b3af7ebbc0189ab31053bd89d91aba6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: nomadik: Back out some managed resources (diff) | |
download | wireguard-linux-a0c807b5b65a73b321a5313662625a85b18a7037.tar.xz wireguard-linux-a0c807b5b65a73b321a5313662625a85b18a7037.zip |
pinctrl: nomadik: fix dereference of error pointer
If nmk_gpio_populate_chip() returns an error, avoid deferencing its
return value.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-gpio/5ee722f8-7582-420d-8477-45be6acde90f@moroto.mountain/
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20240306-mbly-gpio-err-fix-v1-1-a3605ba2336f@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions