[PATCH 1/1] drm/amdkfd: Make svm_migrate_put_sys_page static
Felix Kuehling
Felix.Kuehling at amd.com
Fri Apr 30 09:09:53 UTC 2021
This function is only used in this source file.
Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling at amd.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
index 6b810863f6ba..bc2fc528ad58 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
@@ -281,7 +281,7 @@ svm_migrate_get_sys_page(struct vm_area_struct *vma, unsigned long addr)
return page;
}
-void svm_migrate_put_sys_page(unsigned long addr)
+static void svm_migrate_put_sys_page(unsigned long addr)
{
struct page *page;
--
2.31.1
More information about the amd-gfx
mailing list