Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp630622ybz; Wed, 15 Apr 2020 15:30:51 -0700 (PDT) X-Google-Smtp-Source: APiQypLP5i/PNRyaPf8nFGc+k6WRC/F4fNvfv1GPRe/YpgTBrdpN5S0E7V5Vu7rjgDiK2UeLwcQ2 X-Received: by 2002:aa7:c312:: with SMTP id l18mr2570029edq.161.1586989851226; Wed, 15 Apr 2020 15:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586989851; cv=none; d=google.com; s=arc-20160816; b=hPrKJQbFQ8XqYK9QEkZHacuH6RoTrg1caMY5xRvsD426J1Hy16pE7Vl8do6rYgJYa1 MIBHz+4YOYnpt2sujLferW+D/cdSzENzejm+M328ZdH0toUyawWCci99t7bujHVoNONm n3GAo7YUVNE5KFj/7ce9fZctpcn8dC+B2h8Iaexi5dPgJv39yVf2gfD3clD4t6pAwnHB OQ39NPh+mlcv8IpAWy5QM0YqNj8XOqXNXR2MOLSpXNoVRPLJHqvv+5p8p0UW+v33s3jY sfpj2hkJeXlLa14TIup6hAXx6OnkBGWkzKxshHPtlLgZXh5zq6zbGRhhthh+a4ZDgRF2 ccYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OA7eUD62zHnRX8Hze2QmSHkR4un/fEsZCvpBCcj1GtE=; b=a9XUqo6XXLzTLpuXN0CkoEdSVKFqZpfeo/cya7zi/6Ln5aNphg1178/w+IUZWfXfK0 6gC2dGmK8IwnGqRB17LX++Y5qKNUoZVGBr5MK4C/UG+y1GoUTcnvGPHqoPVQbKOibsPL PMN8nqI8SexVzv0SbTzSxGVxLanZhlMv0vk3bvaAmTR2VhSoHcM1T5C71qL29DmYpv1Y b/qPOyZALii39tMwTgTcHGiSvfvejrQ/cJMSnDceMoJ4+v2oBzEghEhTLE4DrTFQxLiE qu3ECyz81P3VzTZjQlP6Lop09Ot9jUo55i26lr9PDuHyCdyC9OmeLQrhXcISaxt3bIBf s3Bg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si8716057edn.114.2020.04.15.15.30.28; Wed, 15 Apr 2020 15:30:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635872AbgDOIWl (ORCPT + 99 others); Wed, 15 Apr 2020 04:22:41 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2326 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2635867AbgDOIWh (ORCPT ); Wed, 15 Apr 2020 04:22:37 -0400 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 From: Jason Yan To: , , , , CC: Jason Yan , Hulk Robot 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: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 @@ #include -struct start_info _xen_start_info; +static struct start_info _xen_start_info; struct start_info *xen_start_info = &_xen_start_info; EXPORT_SYMBOL(xen_start_info); -- 2.21.1