aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorWang ShaoBo <bobo.shaobowang@huawei.com>2022-11-18 14:24:47 +0800
committerPaolo Abeni <pabeni@redhat.com>2022-11-22 10:29:58 +0100
commite541dd7763fc34aec2f93f652a396cc2e7b92d8d (patch)
tree851214555fef5f4996d90ff137c30d8c6a34f873 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentice: fix handling of burst Tx timestamps (diff)
downloadwireguard-linux-e541dd7763fc34aec2f93f652a396cc2e7b92d8d.tar.xz
wireguard-linux-e541dd7763fc34aec2f93f652a396cc2e7b92d8d.zip
net: wwan: iosm: use ACPI_FREE() but not kfree() in ipc_pcie_read_bios_cfg()
acpi_evaluate_dsm() should be coupled with ACPI_FREE() to free the ACPI memory, because we need to track the allocation of acpi_object when ACPI_DBG_TRACK_ALLOCATIONS enabled, so use ACPI_FREE() instead of kfree(). Fixes: d38a648d2d6c ("net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg") Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com> Link: https://lore.kernel.org/r/20221118062447.2324881-1-bobo.shaobowang@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions