summaryrefslogtreecommitdiff
path: root/mm/debug_page_alloc.c
diff options
context:
space:
mode:
authorSiddarth G <siddarthsgml@gmail.com>2025-04-27 15:56:39 +0530
committerAndrew Morton <akpm@linux-foundation.org>2025-05-12 23:50:37 -0700
commitd48e8d27cd61d8485ef2c1187f3048de77af2d11 (patch)
treed3cea30d669e0edefeb016e5087c4c0728581b1d /mm/debug_page_alloc.c
parenta3365bdca2200e24d815b19382d3f05deb8567ab (diff)
selftests/mm: use long for dwRegionSize
Change the type of 'dwRegionSize' in wp_init() and wp_free() from int to long to match callers that pass long or unsigned long long values. wp_addr_range function is left unchanged because it passes 'dwRegionSize' parameter directly to pagemap_ioctl, which expects an int. This patch does not fix any actual known issues. It aligns parameter types with their actual usage and avoids any potential future issues. Link: https://lkml.kernel.org/r/20250427102639.39978-1-siddarthsgml@gmail.com Signed-off-by: Siddarth G <siddarthsgml@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug_page_alloc.c')
0 files changed, 0 insertions, 0 deletions