From c98612955016046a66cf88e0d18ed452ba3bb632 Mon Sep 17 00:00:00 2001 From: Balbir Singh Date: Fri, 21 Feb 2025 12:27:49 +1100 Subject: [PATCH] mm-allow-compound-zone-device-pages-fix-fix - Add {} around the if statement as per coding style - Add Reviewed-by/Acked-by tags Link: https://lkml.kernel.org/r/20250219231337.364133-1-balbirs@nvidia.com Link: https://lkml.kernel.org/r/20250221012749.506513-1-balbirs@nvidia.com Signed-off-by: Balbir Singh Reviewed-by: Alistair Popple Acked-by: David Hildenbrand Cc: Jason Gunthorpe Cc: Dan Williams Signed-off-by: Andrew Morton --- mm/migrate_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/migrate_device.c b/mm/migrate_device.c index e0bf771edb6f..7d0d64f67cdf 100644 --- a/mm/migrate_device.c +++ b/mm/migrate_device.c @@ -154,9 +154,9 @@ again: } page = vm_normal_page(migrate->vma, addr, pte); if (page && !is_zone_device_page(page) && - !(migrate->flags & MIGRATE_VMA_SELECT_SYSTEM)) + !(migrate->flags & MIGRATE_VMA_SELECT_SYSTEM)) { goto next; - else if (page && is_device_coherent_page(page)) { + } else if (page && is_device_coherent_page(page)) { pgmap = page_pgmap(page); if (!(migrate->flags & -- 2.50.1