Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1254294imu; Wed, 23 Jan 2019 13:30:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN4enNCP0aJeE1XcrIVSi+5BA8crGV+Tgzx2V294+MLRfGtXaLllI3aR/vIrRx7EsMFybOl5 X-Received: by 2002:a63:b105:: with SMTP id r5mr3540859pgf.442.1548279017667; Wed, 23 Jan 2019 13:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548279017; cv=none; d=google.com; s=arc-20160816; b=AVJsFlpSIdjewyv5o6dbcC/4y8y5wPjJl/+REBWpNjTK16/tZlFZ5emnGHvRaOZ/sk fp4Fkjxu9CJWgtUD4xw4FaoXakfTK55g912dSxjlkCF3sLDt4L/f287KKrrE9ylz1Fpl HPBDnPbrT9LqwSzQ4Wkdeg13Sc3OOlZhaiPCUpAVbZmdh9Rbd/MoJBZHbeOKepbWO01B ctbJ9latQfOyECXWJTJOQlrcdwz3P5WEn34IsDjKTGDEcAdliB8tkrK6piyIYtnAc0nI oq11Vr4aecVv4J/L7OLarJd/I3B+08EopiUIFQSlbLV+GbE2DF6pYt68MMAX519FdoNG znrA== 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=39shlt8p3sixAkCYHj8yK7tuD6lRMUiDXLL4z/WewvI=; b=zRY9BO6LQiN0dJ+ikbsLL3n1zcAXUtzJT/JMXYf4PpTngV2GyVFybtgTPNmQ1FeoaL XiGZ136LQqI0v34cJqxxwNnuOL3E10KNuZ6+8MC3sfGrV7NGmY0MOKy/V49mHGE0Q5zl vl6k2Wxx6loaRYGzuWrfl8arb+W8kHX60j680eAvxpKlnyUQVcIK9iKh++BV7XreIxCv aO+8GJwVkGhPu8Y5CLCa0+QV4zMDqGVEz8l44w/ewZGFnBChbuvnT+3X72Y37S7pSshS 26y0HZhk1Cg3FpV2YJ3UN7ZlvWygOY8PpklLr5OnA2phJh1sZRTUijgd8TY6q7GzOzWs GF0g== 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 e89si14420392plb.401.2019.01.23.13.29.55; Wed, 23 Jan 2019 13:30:17 -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 S1726913AbfAWV2P (ORCPT + 99 others); Wed, 23 Jan 2019 16:28:15 -0500 Received: from verein.lst.de ([213.95.11.211]:44993 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbfAWV2P (ORCPT ); Wed, 23 Jan 2019 16:28:15 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id B5AC968DCF; Wed, 23 Jan 2019 22:28:13 +0100 (CET) Date: Wed, 23 Jan 2019 22:28:13 +0100 From: Christoph Hellwig To: Joerg Roedel Cc: "Michael S . Tsirkin" , Jason Wang , Konrad Rzeszutek Wilk , Christoph Hellwig , 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: <20190123212813.GB9032@lst.de> References: <20190123163049.24863-1-joro@8bytes.org> <20190123163049.24863-2-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190123163049.24863-2-joro@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 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.