Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1726218ybz; Thu, 16 Apr 2020 14:30:42 -0700 (PDT) X-Google-Smtp-Source: APiQypIVXJ5Q7LwhaNlgRrKxUpAS6oqzdhxI0sutvYdKeaCWOvameWlRr0fn67QYk9r8WJeE5bVH X-Received: by 2002:a17:906:2443:: with SMTP id a3mr22933ejb.291.1587072642544; Thu, 16 Apr 2020 14:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587072642; cv=none; d=google.com; s=arc-20160816; b=xfJ7QMDxdhFDamNK/VhfR0Ubq/mpccpuY/cMtTWkgmmsx6L5sbCNAhtVDYzTpSrvlY 0YNvujqlX4rN5+YCm+sgZPY8+GLZYW/c2iTqEy2g1PVcOtUZ0bt7z+4fGT1/dgTA9ctk jLUm6qzjSEPeZLIMBXtJIF5BGVlaUEridScwdD1Sm3icit51pGikxowxnM4eqj9/w17S 9p6Shx3g22Go5P9n7x7DJFV0FbzJGtW9iYFX35fzUkbHIakj1eBGXPHJoID45NXIDZRG 6xftL0vedVvfNhvhpcQMT2APqydqXSYg9FyxlfJNEu9W8HZJf75be6EDaPrEiQNzMpTT EFAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=jv7e0KyBBjBLjBP1AuFso3u4/+msiSxeCUe1oiiLV4Q=; b=QqdeIp88C33F3Z/WJ3B/Rkr2RnYpBqB/uKSp8EGOJxA21nFrWq+K7rn1riAq5XqQRO xPt5BKxrw21Y7kBPF6tmaNaGwc+tJLVO6P3G+i/o97lnvXVJHmvwNjt84bfwxryrpNtg 1N8KeQg6+Ar7xc3ISVOwm+go4xRHRc+xEMGXXFqRpLYWcZVBd9wdvpMjBZij3aUC9IOh FYxHwoF48S9ggMWhi+A7QlPynICTUC9e/TPUTagzAwFGHfiKGerIMB5D1ReXfvrfqxMb 3NIBYnxNsbBqwQUwu59lJ8sK1e6IN4IWo0/d4mUqhl7VFdX1DJV/3fy63W0v1BLYtGVY lbIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jI3mqniX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a41si12652624edf.489.2020.04.16.14.30.12; Thu, 16 Apr 2020 14:30:42 -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; dkim=pass header.i=@kernel.org header.s=default header.b=jI3mqniX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726544AbgDPVYj (ORCPT + 99 others); Thu, 16 Apr 2020 17:24:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:40072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbgDPVYi (ORCPT ); Thu, 16 Apr 2020 17:24:38 -0400 Received: from localhost (c-67-164-102-47.hsd1.ca.comcast.net [67.164.102.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5977322201; Thu, 16 Apr 2020 21:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587072278; bh=RRSObpGdrqNjfvIEEsG9Z/f7yPIRU00BfWL00R3oQI4=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=jI3mqniXkjRzCj5RdMnIQkietwemkVIBM4mQtulV72/U7JOWC8lpxOr4B+KyrKssC upzZmCbx89P2OYVS8pe6EyeWIgs9QcbA55HfYWaLbt86LykbuIQOQ7oQnzpPpWxQIa rDe0O27DWQeHq+pIexYRjp1VA2dURAAspGXaOq1Q= Date: Thu, 16 Apr 2020 14:24:37 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Jason Yan cc: sstabellini@kernel.org, linux@armlinux.org.uk, xen-devel@lists.xenproject.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hulk Robot , jgross@suse.com Subject: Re: [PATCH] arm/xen: make _xen_start_info static In-Reply-To: <20200415084853.5808-1-yanaijie@huawei.com> Message-ID: References: <20200415084853.5808-1-yanaijie@huawei.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 Apr 2020, Jason Yan wrote: > 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 @@ > > #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 >