From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoquan He Subject: Re: [PATCH v8 09/13] iommu/amd: Use is_attach_deferred call-back Date: Fri, 28 Jul 2017 12:02:36 +0800 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-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20170727155327.GN3610-l3A5Bk7waGM@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: Joerg Roedel Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org 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.