diff options
author | Théo Lebrun <[email protected]> | 2024-03-06 17:19:45 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2024-03-06 20:47:14 +0100 |
commit | a0c807b5b65a73b321a5313662625a85b18a7037 (patch) | |
tree | 646cc8ea0b3af7ebbc0189ab31053bd89d91aba6 /tools/perf/util/trace-event-scripting.c | |
parent | 5545d5013c0ec96f2a920bdfc681cdd72a570dd8 (diff) |
pinctrl: nomadik: fix dereference of error pointer
If nmk_gpio_populate_chip() returns an error, avoid deferencing its
return value.
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/linux-gpio/[email protected]/
Signed-off-by: Théo Lebrun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions