Check page after calling xa_untag_pointer() to fix compile warning:Reviewed-by: Ralph Campbell <rcampbell@xxxxxxxxxx>
lib/test_hmm.c:631:16: warning: variable ‘page’ set but not used [-Wunused-but-set-variable]
631 | struct page *page;
| ^~~~
Fixes: 8b2a105c3794 ("mm: selftests for exclusive device memory")
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>