From: Balbir Singh Date: Fri, 21 Feb 2025 01:27:49 +0000 (+1100) Subject: mm-allow-compound-zone-device-pages-fix-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c98612955016046a66cf88e0d18ed452ba3bb632;p=users%2Fjedix%2Flinux-maple.git 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 --- diff --git a/mm/migrate_device.c b/mm/migrate_device.c index e0bf771edb6f1..7d0d64f67cdf0 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 &