From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/vt-d: return error code in domain_context_mapping_one() Date: Thu, 14 Jul 2016 10:27:28 +0200 Message-ID: <20160714082728.GF27306@suse.de> References: <1468418001-19089-1-git-send-email-richard.weiyang@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1468418001-19089-1-git-send-email-richard.weiyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Wei Yang Cc: dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org 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 Applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573AbcGNI1s (ORCPT ); Thu, 14 Jul 2016 04:27:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:56422 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbcGNI1l (ORCPT ); Thu, 14 Jul 2016 04:27:41 -0400 Date: Thu, 14 Jul 2016 10:27:28 +0200 From: Joerg Roedel To: Wei Yang Cc: dwmw2@infradead.org, joro@8bytes.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/vt-d: return error code in domain_context_mapping_one() Message-ID: <20160714082728.GF27306@suse.de> References: <1468418001-19089-1-git-send-email-richard.weiyang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468418001-19089-1-git-send-email-richard.weiyang@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied, thanks.