Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1743110imu; Thu, 24 Jan 2019 00:48:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN6+RIM3RE1JTkTtJFG0F1WrkIL9XBkxgzFoiwweg9at1GtmVpq2SUkUELqGjnO9EHZaMygg X-Received: by 2002:a63:902:: with SMTP id 2mr4825441pgj.219.1548319690990; Thu, 24 Jan 2019 00:48:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548319690; cv=none; d=google.com; s=arc-20160816; b=T812HUctQxWdyEJUu/57WT9eCWvDRH4da8Oi2eKTs+UHxtuGwgnSkpgFV9L3SEcJ6q 6gsb24vuQc8ltDRGAeOOebrDV9SWnfadH38Klhu2l3mmx6FMItNto4zZyDZv2kX8R2qY KhdYYcG7UxfL9xqBO9adgqHyTqgge79lJEdPTdNE3LYsniO2LxEfWJd97Vq7u7QYFnsO aw9x2UyIYBH3muLjIFUfITWVt8vF14otaXzzw90D23h6i71kldVSyYMIYQJ5aPgbb/Eb u7h6ly0L6dVndPPKpqXEKZ49GSLXTGo8vLSl4SXSOhr9eSKBJP2RSQ/pWPFrxDHZlFjP HU9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=unY0klz3iPU3VxQm8tQ5TXCgx3vT0hu6GgzuNOYIPjE=; b=KxyX310em8/Oo6YBnjeI3c4YBzd8YxEpDjRD6tU2kWQBMwkF2fEWZ1n1BvyubF1vZA /awS26WYnhH0sfmt2zGIh14utbCw4ICC/kA+r4Jc0trAEjTCbdZ6WJUnoRsL4uB3MNhJ r2aCYJxEQtO2SZnzMGlczftmsgca5JtoSCxpl3P17QtzM6ibjT+TmvnMYplwx0DQC2to VnphH03WhP6+AWsBSPxUQGc7QAU+NxdJVFtSk0uAg8hudAb1LaTwxh6tmQTQYnM0Q4R6 vNNZvjxvXVDV6UrLT6fkm9lPWcGkLMRnEW+v7CQ6BFg66rMudbAdmUxhLwfYAatbMvGQ ek5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k5si3713251plt.111.2019.01.24.00.47.54; Thu, 24 Jan 2019 00:48:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727208AbfAXIru (ORCPT + 99 others); Thu, 24 Jan 2019 03:47:50 -0500 Received: from verein.lst.de ([213.95.11.211]:47470 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725986AbfAXIru (ORCPT ); Thu, 24 Jan 2019 03:47:50 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 45D1968DD3; Thu, 24 Jan 2019 09:47:48 +0100 (CET) Date: Thu, 24 Jan 2019 09:47:48 +0100 From: Christoph Hellwig To: Joerg Roedel Cc: Christoph Hellwig , "Michael S . Tsirkin" , Jason Wang , Konrad Rzeszutek Wilk , Jens Axboe , virtualization@lists.linux-foundation.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, jfehlig@suse.com, jon.grimm@amd.com, brijesh.singh@amd.com, jroedel@suse.de Subject: Re: [PATCH 1/5] swiotlb: Introduce swiotlb_max_mapping_size() Message-ID: <20190124084748.GA19510@lst.de> References: <20190123163049.24863-1-joro@8bytes.org> <20190123163049.24863-2-joro@8bytes.org> <20190123212813.GB9032@lst.de> <20190124082431.GH32526@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124082431.GH32526@8bytes.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 24, 2019 at 09:24:31AM +0100, Joerg Roedel wrote: > On Wed, Jan 23, 2019 at 10:28:13PM +0100, Christoph Hellwig wrote: > > On Wed, Jan 23, 2019 at 05:30:45PM +0100, Joerg Roedel wrote: > > > +extern size_t swiotlb_max_mapping_size(struct device *dev); > > > > No need for the extern keyword on function declarations in headers. > > Right, but all other function declarations in that header file have > 'extern' too, so I added it also for that one. Your patch 3 also doesn't use an extern. And I have to say I much prefer it that way..