Re: [Xen-devel] [PATCH 3/3] Free allocated resource on error

2019-10-09 Thread Julien Grall
Hi Artem, On 09/10/2019 15:20, Artem Mygaiev wrote: Also do not set mark device as SMMU protected when there are no more SMMU resources left This is a sanity check on the content of the node, not a lack of resource in this case. TBH, the current placement is probably not correct. But I am

[Xen-devel] [PATCH 3/3] Free allocated resource on error

2019-10-09 Thread Artem Mygaiev
Also do not set mark device as SMMU protected when there are no more SMMU resources left Coverity-ID: 1381862 Signed-off-by: Artem Mygaiev --- xen/drivers/passthrough/arm/smmu.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xen/drivers/passthrough/arm/smmu.c