mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:40:54 +07:00
media: atomisp: add a debug message at hmm free
In order to check if aren't there any memory leaks, let's add a debug print for hmm_free(). Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
607e954ac5
commit
530c09f261
@ -285,6 +285,8 @@ void hmm_free(ia_css_ptr virt)
|
||||
{
|
||||
struct hmm_buffer_object *bo;
|
||||
|
||||
dev_dbg(atomisp_dev, "%s: free 0x%08x\n", __func__, virt);
|
||||
|
||||
WARN_ON(!virt);
|
||||
|
||||
bo = hmm_bo_device_search_start(&bo_device, (unsigned int)virt);
|
||||
|
Loading…
Reference in New Issue
Block a user