[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.