Commit 2491f0a2 authored by Committed by Linus TorvaldsBrowse files
mm: section numbers use the type "unsigned long"
Patch series "mm: Further memory block device cleanups", v1. Some further cleanups around memory block devices. Especially, clean up and simplify walk_memory_range(). Including some other minor cleanups. This patch (of 6): We are using a mixture of "int" and "unsigned long". Let's make this consistent by using "unsigned long" everywhere. We'll do the same with memory block ids next. While at it, turn the "unsigned long i" in removable_show() into an int - sections_per_block is an int. [email@example.com: s/unsigned long i/unsigned long nr/] [firstname.lastname@example.org: v3] Link: http://email@example.com Link: http://firstname.lastname@example.org Signed-off-by: David Hildenbrand <email@example.com> Reviewed-by: Andrew Morton <firstname.lastname@example.org> Cc: Greg Kroah-Hartman <email@example.com> Cc: "Rafael J. Wysocki" <firstname.lastname@example.org> Cc: Vlastimil Babka <email@example.com> Cc: Michal Hocko <firstname.lastname@example.org> Cc: Dan Williams <email@example.com> Cc: Mel Gorman <firstname.lastname@example.org> Cc: Wei Yang <email@example.com> Cc: Johannes Weiner <firstname.lastname@example.org> Cc: Arun KS <email@example.com> Cc: Pavel Tatashin <firstname.lastname@example.org> Cc: Oscar Salvador <email@example.com> Cc: Stephen Rothwell <firstname.lastname@example.org> Cc: Mike Rapoport <email@example.com> Cc: Baoquan He <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 21 additions and 22 deletions