Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1056162ybz; Wed, 29 Apr 2020 14:12:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKsl9/ayG/DwH6ftu2xSts4SzIpK/0zX1Vrt1ZLuFf9Cmg69NFU7/lFPuqfklqbg8vlGDLS X-Received: by 2002:a17:906:1e51:: with SMTP id i17mr4550443ejj.336.1588194768658; Wed, 29 Apr 2020 14:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588194768; cv=none; d=google.com; s=arc-20160816; b=dnt7YHdaLRBmybnIyONAb7C0OrJBGC0nrwKdUJyXo/6++bibZqYrMJPRI8L4Oi9jss M3cCPgJt0gTGd7Dv1HQzSQLNXHN8Q1fA3jTW94d4VtJy133XtrbaOG0ij2QMHuz27fFq 6xvTw0zmVVjZZZXeierxM6HGDVzbSKS5xQb4bElROdaKD9kKPihgnIDvc4zrJpFRAuim cA045PPJ3j6CUF8V+p5cH19WSLks9jjcFNbwo3pk85uaVOUEhAno5mY7xLVcHkks96aE jdSwznrQejbULQ8hd1A9FYwHv5zuaTuCqaHg9on/eOyS9mcyCySwgCcKgDDcedjuxV01 DW9w== 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:ironport-sdr:ironport-sdr; bh=tHZtmVfEWaAvh/4iUe+SddUvl8/kEp6BZuX9TYEhl6Q=; b=qfB083UGZpqh8BWn6Hx231FLYxGMmS0TcrGjvp7DHR7eDa+EXGwyA0yz4V4c0Z9mDv Zw1xUrFR7EHAx/vOYiIrU79tp7z8Ct/Kc5Mg2yKNca9XoylXO8NgxG5VS9N3nv9f6KFj UV5V5C/yiZt274eLBXghgPcf7GAFCSAxXDBkkcretLZnWf1fOir5lxHxhr8S1e4cYAfI 82apyzAs7X4yKNU2qyO5Vvq07AjS0ewok4WWl4IyE+QbcxJWoUkDNntUG0dwqlJPGktr 4KkNJO+S+6BdbKnp7ryat5zXkYtgkcpygFnDq3Iy2M5xFssCyoXFy07cVFaSjQKehoLy 2tpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si4093877eds.551.2020.04.29.14.12.23; Wed, 29 Apr 2020 14:12:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727831AbgD2VHo (ORCPT + 99 others); Wed, 29 Apr 2020 17:07:44 -0400 Received: from mga14.intel.com ([192.55.52.115]:34699 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbgD2VHn (ORCPT ); Wed, 29 Apr 2020 17:07:43 -0400 IronPort-SDR: y8WvO7u/yrLRl4UxNR5CisRntl2syKAWnrG90d29g1suS+P6geULpha5fLOsXLzFZGuL0nuts/ 8AYyYYEej+Iw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 14:07:43 -0700 IronPort-SDR: 9KMFJS/qBz1Tol+HEl7DO7rg0UpWzvVVdxnC3FBPX/0IsSOZRbtMs3zEGHI4Yq+coGpY15G2OR IBNCf7YU/YgA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,333,1583222400"; d="scan'208";a="282629568" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 29 Apr 2020 14:07:39 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1jTtvf-000GMm-33; Thu, 30 Apr 2020 05:07:39 +0800 Date: Thu, 30 Apr 2020 05:06:42 +0800 From: kbuild test robot To: Srivatsa Vaddagiri , konrad.wilk@oracle.com, mst@redhat.com, jasowang@redhat.com, jan.kiszka@siemens.com, will@kernel.org, stefano.stabellini@xilinx.com Cc: kbuild-all@lists.01.org, iommu@lists.linux-foundation.org, virtualization@lists.linux-foundation.org, virtio-dev@lists.oasis-open.org, tsoni@codeaurora.org, pratikp@codeaurora.org, vatsa@codeaurora.org, christoffer.dall@arm.com, alex.bennee@linaro.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH] virtio: virtio_pool can be static Message-ID: <20200429210642.GA804@46221c807a07> References: <1588073958-1793-6-git-send-email-vatsa@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1588073958-1793-6-git-send-email-vatsa@codeaurora.org> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: kbuild test robot --- virtio_bounce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio_bounce.c b/drivers/virtio/virtio_bounce.c index 3de8e0eb71e48..5a68d48667c42 100644 --- a/drivers/virtio/virtio_bounce.c +++ b/drivers/virtio/virtio_bounce.c @@ -19,7 +19,7 @@ static phys_addr_t bounce_buf_paddr; static void *bounce_buf_vaddr; static size_t bounce_buf_size; -struct swiotlb_pool *virtio_pool; +static struct swiotlb_pool *virtio_pool; #define VIRTIO_MAX_BOUNCE_SIZE (16*4096) @@ -76,7 +76,7 @@ static void virtio_unmap_page(struct device *dev, dma_addr_t dev_addr, size, dir, attrs); } -size_t virtio_max_mapping_size(struct device *dev) +static size_t virtio_max_mapping_size(struct device *dev) { return VIRTIO_MAX_BOUNCE_SIZE; }