From patchwork Tue Oct 22 12:50:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11204365 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C92C14E5 for ; Tue, 22 Oct 2019 12:53:12 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 2289A2075A for ; Tue, 22 Oct 2019 12:53:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2289A2075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iMtd9-00014Q-QC; Tue, 22 Oct 2019 12:51:19 +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 1iMtc6-000129-9g for xen-devel@lists.xenproject.org; Tue, 22 Oct 2019 12:50:14 +0000 X-Inumbo-ID: 7c4b284d-f4ca-11e9-9468-12813bfff9fa Received: from imap1.codethink.co.uk (unknown [176.9.8.82]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 7c4b284d-f4ca-11e9-9468-12813bfff9fa; Tue, 22 Oct 2019 12:50:12 +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 1iMtc0-0002GG-5U; Tue, 22 Oct 2019 13:50:08 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.3) (envelope-from ) id 1iMtbz-0000zI-En; Tue, 22 Oct 2019 13:50:07 +0100 From: "Ben Dooks (Codethink)" To: linux-kernel@lists.codethink.co.uk Date: Tue, 22 Oct 2019 13:50:06 +0100 Message-Id: <20191022125006.3746-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 22 Oct 2019 12:51:19 +0000 Subject: [Xen-devel] [PATCH] xen: mm: include for missing declarations 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 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Include for xen_{create,destroy}_contigous_region call declarations. Fixes the following sparse warnings: arch/arm/xen/mm.c:119:5: warning: symbol 'xen_create_contiguous_region' was not declared. Should it be static? arch/arm/xen/mm.c:131:6: warning: symbol 'xen_destroy_contiguous_region' was not declared. Should 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index 38fa917c8585..6feb6b78b13c 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include