selftests/vm: cow: fix compile warning on 32bit
authorDavid Hildenbrand <david@redhat.com>
Mon, 5 Dec 2022 19:37:15 +0000 (20:37 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Dec 2022 02:12:20 +0000 (18:12 -0800)
commit380969fe5aacdea661d3f9ab32e84327e8624ae2
tree1bcc658b5ad64a5e5eb4cce63603edfe95e57704
parentd88825f22b8f1cad8acb429b6bf0a54c85d7b93f
selftests/vm: cow: fix compile warning on 32bit

The compiler complains about the conversion of a pointer to an int of
different width.

Link: https://lkml.kernel.org/r/20221205193716.276024-4-david@redhat.com
Fixes: 6f1405efc61b ("selftests/vm: anon_cow: add R/O longterm tests via gup_test")
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/vm/cow.c