diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2021-02-19 13:12:16 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-23 18:47:50 +0300 |
| commit | 040b86483c63ef426ce0d6c0cd9f8352d3c2fdad (patch) | |
| tree | 9b5e785d23f65d0aa45e84885a981bc1bfe77025 /include/uapi | |
| parent | 184fc42a73b7420cd86ba478202e69926ec6acfd (diff) | |
| download | linux-040b86483c63ef426ce0d6c0cd9f8352d3c2fdad.tar.xz | |
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions
