Re: [PATCH] selftests/mm: use long for dwRegionSize

2025-04-27 Thread Andrew Morton
On Sun, 27 Apr 2025 15:56:39 +0530 Siddarth G wrote: > 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 directl

[PATCH] selftests/mm: use long for dwRegionSize

2025-04-27 Thread Siddarth G
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. Signed-off-by: Siddarth