Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp286876ybg; Wed, 3 Jun 2020 00:24:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuGKT2WIGtP5zP0NqipnJpJaKKtkyeKLtdHpdwCwUAKgkOIgry9ykGZuswkzbPt+aCVhLa X-Received: by 2002:a05:6402:206e:: with SMTP id bd14mr18009187edb.105.1591169082784; Wed, 03 Jun 2020 00:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591169082; cv=none; d=google.com; s=arc-20160816; b=jGXMQGSWk588nS3g9HnXObj17LI5VxNhjSi7IdmlJ7cDgr7EksbSWQiE/6PbpBrW30 Pa2kN0vwWr9fHtgsigjxw2cSqH3o1h6DjhPAgKVE9MZiIBfa64/lBKxFAqHPgqeapap2 HnxdP9q1RLeR1jEgIt30kvvEQAbaZwbKFL+Avtzfkvm7ywp17cD7h5gMf2hqW3CNV5Mi MT0LeNlk6yQ4F2uiFawcROHUxJkJK7Dcrir0+xvRdRoPlMIB2bAmyIjDUR5Hci9oZ1Nt 1xtgyRNvT7x96/PG2vg46X6kL4OVV8dnOERgi3gHOOhFhT62m3SvJGSBxbq2z9kbtpRz JEZg== 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=MOhGvMG0LU1eA4KmK69A0tBz5qVUz4amXW6/uo3Y87E=; b=UnYQYC4z1SkAvLOnJzouQr+OrkXphb+ET1MyUAdbvbSWLRMBJ5a73rtpM87P93j2wk Y1RPigwcxtLelVGv6NQUzx43L4RyAGE6UL3fudX4V/bsPdAyQpDov49qgQZ7rfhxEjA4 fjy24j3jAd02aRfSX3TjT4Hyk86vqMpnkjKmrNPg0PhxybIcX2D+7xta3x91HQ6sm8bk 6pYut8AOCwg0x3KeZW5EfMjsmOzAuNeb+K5vGQn0Awl6w54zozF3AFnvoELFNbXvOJhz BKFJl4L5cX3hJa7IjElsCp8Dpr68EK2XSaRAPugHyR4XAsUgULS7m32q+VWH/ubtC1iI 57Uw== 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 y14si664692ejp.357.2020.06.03.00.24.18; Wed, 03 Jun 2020 00:24:42 -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 S1726021AbgFCHT2 (ORCPT + 99 others); Wed, 3 Jun 2020 03:19:28 -0400 Received: from mga01.intel.com ([192.55.52.88]:54519 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgFCHT1 (ORCPT ); Wed, 3 Jun 2020 03:19:27 -0400 IronPort-SDR: rGwGPhXSM5/dn80h6lM0plq4aF1RAc/vRfDQ9ey8XjJ+hvWoWOroCkc+aaXSD9vDlLQrf2yJ9C 5sEuH2jf7e4w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2020 00:19:27 -0700 IronPort-SDR: Yyl9KM/4BH8YDORSPS8aPRUDVd45t282Vv6JqhEp+3M9F8OJHnZM2qMC0PwlIr7sc8Xw7TSkeA 2KEjhPrZouhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,467,1583222400"; d="scan'208";a="444996268" Received: from lkp-server02.sh.intel.com (HELO 8f84dc34deca) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 03 Jun 2020 00:19:22 -0700 Received: from kbuild by 8f84dc34deca with local (Exim 4.92) (envelope-from ) id 1jgNgH-000034-1X; Wed, 03 Jun 2020 07:19:21 +0000 Date: Wed, 3 Jun 2020 15:18:59 +0800 From: kbuild test robot To: Barry Song , hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com, catalin.marinas@arm.com Cc: kbuild-all@lists.01.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, Jonathan.Cameron@huawei.com, john.garry@huawei.com Subject: [RFC PATCH] dma-direct: dma_contiguous_pernuma_area[] can be static Message-ID: <20200603071859.GA64477@6bb44d8ad825> References: <20200603024231.61748-2-song.bao.hua@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200603024231.61748-2-song.bao.hua@hisilicon.com> 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 --- contiguous.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c index 4b10d0ca0456d..2094c8e0590ac 100644 --- a/kernel/dma/contiguous.c +++ b/kernel/dma/contiguous.c @@ -37,7 +37,7 @@ #endif struct cma *dma_contiguous_default_area; -struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES]; +static struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES]; /* * Default global CMA area size can be defined in kernel's .config.