diff options
| author | Michael Kelley <mikelley@microsoft.com> | 2018-08-02 03:08:25 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-02 10:20:59 +0200 |
| commit | 572086325ce9a9e348b8748e830653f3959e88b6 (patch) | |
| tree | 9ddba84c9cd5aec69f778524eff83f5d64399af9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | Drivers: hv: vmbus: Remove use of slow_virt_to_phys() (diff) | |
| download | linux-572086325ce9a9e348b8748e830653f3959e88b6.tar.gz linux-572086325ce9a9e348b8748e830653f3959e88b6.zip | |
Drivers: hv: vmbus: Cleanup synic memory free path
clk_evt memory is not being freed when the synic is shutdown
or when there is an allocation error. Add the appropriate
kfree() call, along with a comment to clarify how the memory
gets freed after an allocation error. Make the free path
consistent by removing checks for NULL since kfree() and
free_page() already do the check.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
