From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C44E2C43461 for ; Mon, 10 May 2021 17:50:51 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5A017601FA for ; Mon, 10 May 2021 17:50:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A017601FA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2056B6073D; Mon, 10 May 2021 17:50:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OU58WYKfEqnm; Mon, 10 May 2021 17:50:50 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTP id 1F20460A70; Mon, 10 May 2021 17:50:50 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id EFDA7C0011; Mon, 10 May 2021 17:50:49 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id D2BCCC0001 for ; Mon, 10 May 2021 17:50:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C15DA83942 for ; Mon, 10 May 2021 17:50:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G9vcT0eoSaYX for ; Mon, 10 May 2021 17:50:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3410883774 for ; Mon, 10 May 2021 17:50:48 +0000 (UTC) IronPort-SDR: 1Zcax5EsQpJ0RlGrhFHuwraKbGXzT4XS66wQ3lL8K1+a/xd32Lr8u1oVz2juEr+nXw7s8LPfoF Gcx4TzUajslQ== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="186385431" X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="186385431" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 10:50:47 -0700 IronPort-SDR: QXWSnJu/a4K4F33jQl+R2YMiw/7332eq0c9/dcWqpA6weLblSIdXEXiuw2KenWcrSqrICMIbv0 6Q2zWQ9Th36w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="391062983" Received: from lkp-server01.sh.intel.com (HELO f375d57c4ed4) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 10 May 2021 10:50:44 -0700 Received: from kbuild by f375d57c4ed4 with local (Exim 4.92) (envelope-from ) id 1lgA3H-0000J3-Gr; Mon, 10 May 2021 17:50:43 +0000 Date: Tue, 11 May 2021 01:50:26 +0800 From: kernel test robot To: John Garry , joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, hch@lst.de, m.szyprowski@samsung.com Subject: [RFC PATCH] iova: __init_iova_domain can be static Message-ID: <20210510175026.GA46391@b09f4beb6d7e> References: <1620656249-68890-10-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1620656249-68890-10-git-send-email-john.garry@huawei.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Cc: kbuild-all@lists.01.org, linux-scsi@vger.kernel.org, linuxarm@huawei.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" drivers/iommu/iova.c:50:1: warning: symbol '__init_iova_domain' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- iova.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index 273a689006c36..ae4901073a98a 100644 --- a/drivers/iommu/iova.c +++ b/drivers/iommu/iova.c @@ -46,7 +46,7 @@ static struct iova *to_iova(struct rb_node *node) return rb_entry(node, struct iova, node); } -void +static void __init_iova_domain(struct iova_domain *iovad, unsigned long granule, unsigned long start_pfn, unsigned long iova_len) { _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu