diff options
| author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-05-05 14:37:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-13 13:26:39 +0200 |
| commit | 832cc98141b4b93acbb9231ca9e36f7fbe347f47 (patch) | |
| tree | 65c894b38e0b0fe0dbf7d1f070f3b76c89bb4470 /tools/perf/scripts/python | |
| parent | 01088cd143a9509aba2fd81d208bb4e3ba479035 (diff) | |
| download | linux-832cc98141b4b93acbb9231ca9e36f7fbe347f47.tar.gz linux-832cc98141b4b93acbb9231ca9e36f7fbe347f47.zip | |
staging: wfx: fix double free
In case of error in wfx_probe(), wdev->hw is freed. Since an error
occurred, wfx_free_common() is called, then wdev->hw is freed again.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Fixes: 4033714d6cbe ("staging: wfx: fix init/remove vs IRQ race")
Link: https://lore.kernel.org/r/20200505123757.39506-4-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
