[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a8b74ea-111a-690f-fbe5-ae79b814461e@gmail.com>
Date: Fri, 26 Nov 2021 17:23:32 +0200
From: Oleksandr <olekstysh@...il.com>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>,
Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Julien Grall <julien@....org>
Subject: Re: [PATCH V3 4/6] xen/unpopulated-alloc: Add mechanism to use Xen
resource
On 26.11.21 17:17, Boris Ostrovsky wrote:
Hi Boris
>
> On 11/24/21 3:53 PM, Oleksandr Tyshchenko wrote:
>> + if (target_resource != &iomem_resource) {
>> + tmp_res = kzalloc(sizeof(*tmp_res), GFP_KERNEL);
>> + if (!res) {
>
>
> If (!tmp_res)
Good catch, thank you!
>
>
>> + ret = -ENOMEM;
>> + goto err_insert;
>> + }
--
Regards,
Oleksandr Tyshchenko
Powered by blists - more mailing lists