summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShivank Garg <shivankg@amd.com>2026-01-18 22:22:59 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-02-01 01:22:30 +0300
commit40bd4ff090685746459b05f59f00049ff58493e8 (patch)
treee0d85d75defd3b293355cfe7dd7a233be9333858 /include/linux
parent3ab981c1fca08721a2cc100d4e097d4e0c9e149b (diff)
downloadlinux-40bd4ff090685746459b05f59f00049ff58493e8.tar.xz
mm/khugepaged: use enum scan_result for result variables and return types
Convert result variables and return types from int to enum scan_result throughout khugepaged code. This improves type safety and code clarity by making the intent explicit. No functional change. Link: https://lkml.kernel.org/r/20260118192253.9263-12-shivankg@amd.com Signed-off-by: Shivank Garg <shivankg@amd.com> Reviewed-by: Zi Yan <ziy@nvidia.com> Acked-by: David Hildenbrand (Red Hat) <david@kernel.org> Tested-by: Nico Pache <npache@redhat.com> Reviewed-by: Nico Pache <npache@redhat.com> Reviewed-by: Dev Jain <dev.jain@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Barry Song <baohua@kernel.org> Cc: Lance Yang <lance.yang@linux.dev> Cc: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions