diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1152-drm-amdkfd-Fix-a-memory-leak-in-memory-unmapping.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1152-drm-amdkfd-Fix-a-memory-leak-in-memory-unmapping.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1152-drm-amdkfd-Fix-a-memory-leak-in-memory-unmapping.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1152-drm-amdkfd-Fix-a-memory-leak-in-memory-unmapping.patch deleted file mode 100644 index 0d81be01..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1152-drm-amdkfd-Fix-a-memory-leak-in-memory-unmapping.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 5838f177709b1f73ed93767fd61f947da84fd88e Mon Sep 17 00:00:00 2001 -From: Yong Zhao <yong.zhao@amd.com> -Date: Thu, 16 Jun 2016 14:30:31 -0400 -Subject: [PATCH 1152/4131] drm/amdkfd: Fix a memory leak in memory unmapping - -The kmalloc memory should be freed before exiting the function. - -Change-Id: If10cd8e7e09afe4b15ceb79514dea23c049b3367 -Signed-off-by: Yong Zhao <yong.zhao@amd.com> ---- - drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c -index d72371d..43d3954 100644 ---- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c -+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c -@@ -1555,6 +1555,7 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep, - mem, peer_pdd->vm); - radeon_flush_tlb(peer, p->pasid); - } -+ kfree(devices_arr); - } else { - dev->kfd2kgd->unmap_memory_to_gpu(dev->kgd, mem, pdd->vm); - radeon_flush_tlb(dev, p->pasid); --- -2.7.4 - |