Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751606AbdG0Pxb (ORCPT ); Thu, 27 Jul 2017 11:53:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:43442 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751579AbdG0Pxa (ORCPT ); Thu, 27 Jul 2017 11:53:30 -0400 Date: Thu, 27 Jul 2017 17:53:27 +0200 From: Joerg Roedel To: Baoquan He 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: <20170727155327.GN3610@suse.de> References: <1500627551-12930-1-git-send-email-bhe@redhat.com> <1500627551-12930-10-git-send-email-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500627551-12930-10-git-send-email-bhe@redhat.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 Content-Length: 339 Lines: 9 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 :-)