diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2021-02-19 11:12:16 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-23 16:47:50 +0100 |
| commit | 040b86483c63ef426ce0d6c0cd9f8352d3c2fdad (patch) | |
| tree | 9b5e785d23f65d0aa45e84885a981bc1bfe77025 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 184fc42a73b7420cd86ba478202e69926ec6acfd (diff) | |
| download | linux-040b86483c63ef426ce0d6c0cd9f8352d3c2fdad.tar.gz linux-040b86483c63ef426ce0d6c0cd9f8352d3c2fdad.zip | |
media: atomisp: do not free kmalloc memory by vfree
fw_minibuffer[i].buffer is allocated by kmalloc in sh_css_load_blob_info
and by vmalloc in setup_binary. So use kvfree to decide which of those
allocators to use for freeing.
Also remove the useless cast.
Link: https://lore.kernel.org/linux-media/20210219101216.28406-1-jslaby@suse.cz
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
