On Mon, Apr 28, 2025 at 5:43 AM Andrew Morton <akpm@linux-foundation.org> wrote:
On Sun, 27 Apr 2025 15:56:39 +0530 Siddarth G <siddarthsgml@gmail.com> 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 directly to pagemap_ioctl, which expects
> an int.

Thanks.  Does this fix any known compile-time or runtime issues?

On Mon, Apr 28, 2025 at 5:43 AM Andrew Morton <akpm@linux-foundation.org> wrote:
On Sun, 27 Apr 2025 15:56:39 +0530 Siddarth G <siddarthsgml@gmail.com> 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 directly to pagemap_ioctl, which expects
> an int.

Thanks.  Does this fix any known compile-time or runtime issues?
Hi, thanks for the review. This patch does not fix any actual known issues. It aligns parameter types with their actual usage and avoids any potential future issues.

With gratitude
Siddarth G