diff options
author | 2015-01-12 11:07:58 +0100 | |
---|---|---|
committer | 2015-01-15 17:23:25 +0100 | |
commit | 7d82bf3419c103dbb730e7834186fc5d577b9da1 (patch) | |
tree | b8d6619af4d4408772684fff7247853afaa46f72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: mvebu: Fix probe cleanup on error (diff) | |
download | wireguard-linux-7d82bf3419c103dbb730e7834186fc5d577b9da1.tar.xz wireguard-linux-7d82bf3419c103dbb730e7834186fc5d577b9da1.zip |
gpio: rcar: Fix error path for devm_kzalloc() failure
If the call to devm_kzalloc() fails, nothing must be cleant up.
This was missed before because gpio_rcar_probe() had a "return"
statement after the first "goto err0".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: df0c6c80232f2ad4 ("gpio: rcar: Add minimal runtime PM support")
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