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.
Sig
anging hpage_size to
'unsigned long' was considered, but since gethugepage() expects an int,
this change was avoided.
Reported-by: David Binderman
Closes:
https://lore.kernel.org/all/as8pr02mb10217315060bbfdb21f19643e9c...@as8pr02mb10217.eurprd02.prod.outlook.com/
Signed-off-by: Siddarth G
ght be required ?
Reported-by: David Binderman
Closes:
https://lore.kernel.org/all/as8pr02mb10217315060bbfdb21f19643e9c...@as8pr02mb10217.eurprd02.prod.outlook.com/
Signed-off-by: Siddarth G
---
Changes since v1:
- Instead of using ULL suffixes, converted page_size and related
variables in
0217.eurprd02.prod.outlook.com/
Signed-off-by: Siddarth G
---
tools/testing/selftests/mm/pagemap_ioctl.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/mm/pagemap_ioctl.c
b/tools/testing/selftests/mm/pagemap_ioctl.c
index 57b4bba2b45f..f
4 matches
Mail list logo