diff options
author | 2020-12-02 09:15:32 +0200 | |
---|---|---|
committer | 2020-12-02 12:01:51 +0100 | |
commit | 7ee1a01e47403f72b9f38839a737692f6991263e (patch) | |
tree | 2cedbcff2691079269182135c7850b7e45e25c57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: zynq: fix reference leak in zynq_gpio functions (diff) | |
download | linux-dev-7ee1a01e47403f72b9f38839a737692f6991263e.tar.xz linux-dev-7ee1a01e47403f72b9f38839a737692f6991263e.zip |
gpio: mvebu: fix potential user-after-free on probe
When mvebu_pwm_probe() fails IRQ domain is not released. Move pwm probe
before IRQ domain allocation. Add pwm cleanup code to the failure path.
Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support")
Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions