selftests/mm: pagemap_ioctl: Fix types mismatches shown by compiler options
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Mon, 9 Dec 2024 18:56:22 +0000 (23:56 +0500)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 14 Jan 2025 06:40:52 +0000 (22:40 -0800)
commit43448e5bbbad1fb168b728b8a7c0058ab1397375
treeb897f951b75b5d031c07702284e8a9857bdf06c3
parent2f3577d16c8644455f215abb3c2f77aa32b967b1
selftests/mm: pagemap_ioctl: Fix types mismatches shown by compiler options

Fix following warnings caught by compiler:

- There are several type mismatches among different variables.
- Remove unused variable warnings.

Link: https://lkml.kernel.org/r/20241209185624.2245158-3-usama.anjum@collabora.com
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/pagemap_ioctl.c
tools/testing/selftests/mm/vm_util.c