Thread (3 messages) flat view 3 messages, 2 authors, 2014-09-04

Re: [PATCH] iommu/fsl: Fix warning resulting from adding PCI device twice

From: Joerg Roedel <joro@8bytes.org>
Date: 2014-09-04 10:14:07
Also in: lkml

On Thu, Sep 04, 2014 at 11:33:42AM +0530, Varun Sethi wrote:
+	if (!iommu_group_get(dev))
+		ret = iommu_group_add_device(group, dev);
 
 	iommu_group_put(group);
 	return ret;
Doesn't this additional call to iommu_group_get take a reference to the
iommu_group that needs to be released?


	Joerg
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help