lkml.org 
[lkml]   [2021]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V3 4/6] xen/unpopulated-alloc: Add mechanism to use Xen resource
From

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)


> + ret = -ENOMEM;
> + goto err_insert;
> + }

\
 
 \ /
  Last update: 2021-11-26 16:21    [W:0.128 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site