From nobody Sat Apr 27 17:23:13 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=codethink.co.uk ARC-Seal: i=1; a=rsa-sha256; t=1571748845; cv=none; d=zoho.com; s=zohoarc; b=lQr7fAWJjYpf62B1oij8RintBkkmXh/qvfkiBwtBRtPyGJdgLheQ+x+q2fAFpNKLF4DRpic6lddUWB6wvI/WJDaXyLprVyx3NuAy5TYzeS/Oed7yXGZE+mq8Zf77YZeQE+H4QGsAG1JiVM3LlFbWC26omfLtVmkoxWP3FIuNwPs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571748845; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=K9bBIg6mUVTe6okSlEBtGc5WSrx2aOXhKMxs85CjdwU=; b=VuMXydxzVpq6HuStjl+0lCjv3fOTBkKHYlTF9nD/y2+VUz19DAnldpKJlPGZcftZtUvpwsYO+6RKmajt8hakPO297TYSwzosucTZuYc2ANQhW15uXle3CMuSHY8VsU+KXDVI3l6bwhRrKRyH4vkXnKywHPPsa3mrwwvActvyuhY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1571748845063747.4645964214453; Tue, 22 Oct 2019 05:54:05 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iMten-00019T-6S; Tue, 22 Oct 2019 12:53:01 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iMtel-00019N-Vv for xen-devel@lists.xenproject.org; Tue, 22 Oct 2019 12:53:00 +0000 Received: from imap1.codethink.co.uk (unknown [176.9.8.82]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id def3ed62-f4ca-11e9-9468-12813bfff9fa; Tue, 22 Oct 2019 12:52:57 +0000 (UTC) Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iMteg-0002LV-0H; Tue, 22 Oct 2019 13:52:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.3) (envelope-from ) id 1iMtef-00017r-GW; Tue, 22 Oct 2019 13:52:53 +0100 X-Inumbo-ID: def3ed62-f4ca-11e9-9468-12813bfff9fa From: "Ben Dooks (Codethink)" To: linux-kernel@lists.codethink.co.uk Date: Tue, 22 Oct 2019 13:52:51 +0100 Message-Id: <20191022125251.4284-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] xen: mm: make xen_mm_init static X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: xen-devel@lists.xenproject.org, "Ben Dooks \(Codethink\)" , Stefano Stabellini , linux-arm-kernel@lists.infradead.org, Russell King Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" The xen_mm_init is not exported or used outside of the file it is declared in, so make it static. This fixes the following sparse warning: arch/arm/xen/mm.c:136:12: warning: symbol 'xen_mm_init' was not declared. S= hould it be static? Signed-off-by: Ben Dooks (Codethink) Reviewed-by: Stefano Stabellini --- Cc: Stefano Stabellini Cc: Russell King Cc: xen-devel@lists.xenproject.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm/xen/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index 6feb6b78b13c..3c7645d7b9b4 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -134,7 +134,7 @@ void xen_destroy_contiguous_region(phys_addr_t pstart, = unsigned int order) return; } =20 -int __init xen_mm_init(void) +static int __init xen_mm_init(void) { struct gnttab_cache_flush cflush; if (!xen_initial_domain()) --=20 2.23.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel