selftests/mm: pagemap_ioctl: Fix types mismatches shown by compiler options

[ Upstream commit 43448e5bbb ]

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>
Stable-dep-of: 7e938f00b0 ("selftests/mm: fix faulting-in code in pagemap_ioctl test")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Muhammad Usama Anjum 2024-12-09 23:56:22 +05:00 • committed by Sasha Levin
commit 306c11e7b8
2 changed files with 59 additions and 51 deletions