From nobody Sun May 5 08:24:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1586938984; cv=none; d=zohomail.com; s=zohoarc; b=lgypufGv77m9GSN3C0f9AUjBsRM8ldGmI+1+ripruwdJV51kHecxKf/NIovuCisIBmH/5EWIBxVAOKBP8DsB4Q027x7f2xjOifdCmcHMqMgoc4ZrLWoxmhW9yboVFzMPuMSM0VQ9QYKguQ1iQjU4JWhleNr2gTbPLyvMh41sfgc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586938984; 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=OA7eUD62zHnRX8Hze2QmSHkR4un/fEsZCvpBCcj1GtE=; b=EEaDkF67WjLFdfgWGbNwX3YkbHrkgYpM3SKx18Zd90VwD2EGBPWX95ObJRPAEw2htY4UJZKGNhxuSpVVr8RGsDqJ0oHTbXtvE0ABBKMdY8Qoa4zqX6VFsa5lnDOudtUPkoCEXRqCJPqqx8W8FNmztiomuiGUY2UVhseekp10xvg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1586938984709379.0184832236429; Wed, 15 Apr 2020 01:23:04 -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 1jOdJk-0006rX-1n; Wed, 15 Apr 2020 08:22:44 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jOdJi-0006rL-If for xen-devel@lists.xenproject.org; Wed, 15 Apr 2020 08:22:42 +0000 Received: from huawei.com (unknown [45.249.212.191]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 43598486-7ef2-11ea-b58d-bc764e2007e4; Wed, 15 Apr 2020 08:22:39 +0000 (UTC) Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 8FB6EBE898881FBAF5; Wed, 15 Apr 2020 16:22:35 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Wed, 15 Apr 2020 16:22:25 +0800 X-Inumbo-ID: 43598486-7ef2-11ea-b58d-bc764e2007e4 From: Jason Yan To: , , , , Subject: [PATCH] arm/xen: make _xen_start_info static Date: Wed, 15 Apr 2020 16:48:53 +0800 Message-ID: <20200415084853.5808-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected 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: Hulk Robot , Jason Yan Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Fix the following sparse warning: arch/arm64/xen/../../arm/xen/enlighten.c:39:19: warning: symbol '_xen_start_info' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan Reviewed-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index dd6804a64f1a..fd4e1ce1daf9 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -36,7 +36,7 @@ =20 #include =20 -struct start_info _xen_start_info; +static struct start_info _xen_start_info; struct start_info *xen_start_info =3D &_xen_start_info; EXPORT_SYMBOL(xen_start_info); =20 --=20 2.21.1