Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751148AbdG1ECn (ORCPT ); Fri, 28 Jul 2017 00:02:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36546 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750785AbdG1ECm (ORCPT ); Fri, 28 Jul 2017 00:02:42 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 54C3BAE444 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=bhe@redhat.com Date: Fri, 28 Jul 2017 12:02:36 +0800 From: Baoquan He To: Joerg Roedel Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 09/13] iommu/amd: Use is_attach_deferred call-back Message-ID: <20170728040236.GI24304@x1> References: <1500627551-12930-1-git-send-email-bhe@redhat.com> <1500627551-12930-10-git-send-email-bhe@redhat.com> <20170727155327.GN3610@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170727155327.GN3610@suse.de> User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 28 Jul 2017 04:02:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 452 Lines: 12 On 07/27/17 at 05:53pm, Joerg Roedel wrote: > On Fri, Jul 21, 2017 at 04:59:07PM +0800, Baoquan He wrote: > > +static bool amd_iommu_is_attach_deferred(struct iommu_domain *domain, > > + struct device *dev) > > +{ > > + struct iommu_dev_data *dev_data = dev->archdata.iommu; > > + return dev_data->defer_attach; > > +} > > If the redundant newline from patch 1 needs a new home, put it here :-) Got it, will add a newline at this place. Thanks.