]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: sparse: consistently use _nr
authorDev Jain <dev.jain@arm.com>
Fri, 31 May 2024 12:41:44 +0000 (18:11 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:02 +0000 (19:30 -0700)
commitfe91eca6802c139367ee4e4a09907fe929bb552f
tree7a8ff51c735c3c3bdcd48b95619a282990836f1b
parent7bc131c56853cd6c1d51d8cfc1befc0a23278395
mm: sparse: consistently use _nr

Consistently name the return variable with an _nr suffix, whenever calling
pfn_to_section_nr(), to avoid confusion with a (struct mem_section *).

Link: https://lkml.kernel.org/r/20240531124144.240399-1-dev.jain@arm.com
Signed-off-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/sparse.c