[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a6fc49ec-353b-832b-d3de-6caabbb55434@nvidia.com>
Date: Wed, 26 May 2021 12:59:22 -0700
From: Ralph Campbell <rcampbell@...dia.com>
To: Yang Yingliang <yangyingliang@...wei.com>,
<linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>
CC: <jglisse@...hat.com>, <apopple@...dia.com>, <sfr@...b.auug.org.au>
Subject: Re: [PATCH -next] lib/test_hmm: check page after calling
xa_untag_pointer()
On 5/26/21 7:05 AM, Yang Yingliang wrote:
> Check page after calling xa_untag_pointer() to fix compile warning:
> 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@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Reviewed-by: Ralph Campbell <rcampbell@...dia.com>
Powered by blists - more mailing lists