Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1725926imu; Thu, 24 Jan 2019 00:24:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN70WLHizuAs9jtdLeIRsGs/ZaSweprKc6x4Dr1gm4exz/BnGLZiO21Cjqo8S21KuYYVfgsn X-Received: by 2002:a62:9111:: with SMTP id l17mr5547158pfe.200.1548318296634; Thu, 24 Jan 2019 00:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548318296; cv=none; d=google.com; s=arc-20160816; b=c1RTt4WH0sefpXXVti5i12iR/ytNz0ct92R/Ri5Jbsx/+3W5OOyKHLGv3TwLqvtPCo Na4tVfxEd/sKW5NXE+DjCDYAmMoELCxUflr7ATkVGYLmu/Cmgtuk4V/f/dPVYUILmqfc 70S31cwEzdxqQ9BZQfXCuwxNYblvLZLCakr2lS627F+qShEyQJD6pAUDnDr4mD36TQRK KzpLrS+MmvN29YxeyMdaRyXYTuWqHZ8DEX2G1V2BigK8NnAm3MCnxK3lxK75jMArQR1M DBZIf/RtImknMJBR0leeM2HXMnu5CA43pA7MGUktybamETCUMxZae5vtBcj8JsAHzsBq rNdA== 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=CkPSQp9D60+7GpOmGU6FcleKD0dGDRrkRdefsBIowFA=; b=pCrV0xedgJA2+ET1jn1VygeWKlBqY8xwpICkmRAgpG/chhUCSkTUAdWtiDAftDNFfA t4nQ/3bcRYl7zGCz43Z55YtJeI3l3ZAsGon52hzoQcS+zkoLgE7CoiTZ6bkqIJOKWP9o i4jmPUGJU5ymCw45BlPDOlT9QAwe2rUlmernaz3InbvzVk1XLrnuCFiBq2qW/HkbcY6W elPUMPyK1KK/VEh7MqFnhgjUXPP9LqAOD3tW4RLCzmF2LuXUgPcCTctfe7ClvcOKzPgm LM4p1dTWXSvA6OMnylPnQ5TzrcOSttD0v5FcWxuSTDLECBHatez3w65+LDD6x1/srpPT WXjw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si663595pgv.499.2019.01.24.00.24.41; Thu, 24 Jan 2019 00:24:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727390AbfAXIYf (ORCPT + 99 others); Thu, 24 Jan 2019 03:24:35 -0500 Received: from 8bytes.org ([81.169.241.247]:59428 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbfAXIYe (ORCPT ); Thu, 24 Jan 2019 03:24:34 -0500 Received: by theia.8bytes.org (Postfix, from userid 1000) id E26703C8; Thu, 24 Jan 2019 09:24:31 +0100 (CET) Date: Thu, 24 Jan 2019 09:24:31 +0100 From: Joerg Roedel To: Christoph Hellwig Cc: "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: <20190124082431.GH32526@8bytes.org> References: <20190123163049.24863-1-joro@8bytes.org> <20190123163049.24863-2-joro@8bytes.org> <20190123212813.GB9032@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190123212813.GB9032@lst.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards, Joerg