drm/amdkfd: Make svm_migrate_put_sys_page static
Subsystems (3)
Felix Kuehling
maintainerPATCH 1/1 drm/amdkfd: Make svm_migrate_put_sys_page static
This function is only used in this source file.
Reported-by kernel test robot <[email protected]>
Signed-off-by Felix Kuehling <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +1 -1
@@ -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;
Signature · 6 lines
2.31.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Lgtm
Reviewed-by Rodrigo Siqueira <[email protected]>
Quoted 28 lines · Felix Kuehling
This function is only used in this source file.
Reported-by kernel test robot <[email protected]>Signed-off-by Felix Kuehling <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +1
-1@@ -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;Signature · 6 lines
2.31.1 _______________________________________________ amd-gfx mailing list [email protected] https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7CRodrigo.Siqueira%40amd.com%7Cf8bfc52427f04e97f82708d90bb7c197%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637553706127947374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=sOUEQXslNYh%2FYoiG2sXzBmmxoLHOMet0HOTJwdtx6y4%3D&reserved=0
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by Oak Zeng <[email protected]>
Regards,
Oak
On 2021-04-30, 5:10 AM, "amd-gfx on behalf of Felix Kuehling" <[email protected] on behalf of [email protected]> wrote:
This function is only used in this source file.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
---
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
_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Coak.zeng%40amd.com%7Cf2357cdb134c48e3295f08d90bb7c271%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637553706138144827%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZnGG2WzGJHvnEgwdwpwNci4%2FAhl4hwXT%2BIwUJGArK6U%3D&reserved=0_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx