Re: [PATCH] iommu/vt-d: return error code in domain_context_mapping_one()
From: Joerg Roedel
Date: Thu Jul 14 2016 - 04:27:52 EST
On Wed, Jul 13, 2016 at 01:53:21PM +0000, Wei Yang wrote:
> In 'commit <55d940430ab9> ("iommu/vt-d: Get rid of domain->iommu_lock")',
> the error handling path is changed a little, which makes the function
> always return 0.
>
> This path fixes this.
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
Applied, thanks.