[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <860537a5-5fab-602d-1e00-a84903084383@amd.com>
Date: Mon, 11 Apr 2022 08:58:04 -0500
From: Brijesh Singh <brijesh.singh@....com>
To: Yang Yingliang <yangyingliang@...wei.com>,
linux-kernel@...r.kernel.org
Cc: brijesh.singh@....com, bp@...e.de
Subject: Re: [PATCH -next] virt: sevguest: Fix return value check in
alloc_shared_pages()
On 4/11/22 06:12, Yang Yingliang wrote:
> If alloc_pages() fails, it returns NULL pointer, replaces
> IS_ERR() check with NULL pointer check.
>
> Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
> ---
Reviewed-by: Brijesh Singh <brijesh.singh@....com>
thanks
Powered by blists - more mailing lists