Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2973960ybt; Mon, 29 Jun 2020 11:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR1FWSiIj36+HbpivIkIQEUVQVuSCCCsiecCVaVds7BpPkYuOJqZscV2u8SbMTyNisrYJZ X-Received: by 2002:a05:6402:1a54:: with SMTP id bf20mr18136116edb.69.1593456751991; Mon, 29 Jun 2020 11:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593456751; cv=none; d=google.com; s=arc-20160816; b=mkqZnpi66e0WLjp88vIdizSSFIo7gXok0ykl6gNr5u6ttkwwn3gojKlZ+m4tZ8gjNn +TN0hgHzRvA8d7knwJKENkUP0LnlzTaMis8+LrpEtglWLum91pIp9XtW9e8SDL/8mnum /l26TR8Kok1f7udeAGN7lfxx53SbaH9RtGqHsNapFl/uCLqrJ4mBJJeR8FrXaX4DUoj9 bhNgvTyKso72aqhXZQUQU02D/aZvgsiLKB6yVa+zaDJbv5DHOATr0h7Jozrjh6XNfi3w zc1STbb1sF8snDw3WZ7aFF2F9Qr8OnMoP5EW6swvUDCNW2bDwSsNPIsRNrj+3nN9NM5J oKjA== 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=9EO2NZfZJvsq0l0ZNItmN0QffYCK0f1YVq4GkUChUTM=; b=v8WUPexCKLJpKnGQxl7XxwOpw8ckg3taEpR8rYsOoudxWLve3Z0FhtayOGXDZBm2+E S6i78zL/tBc0MBU9vC+6TqbuNCNEEXWEhosUSMuJq2HiLXXkiPIABd4UqTGy6/aJPS02 heap9dDtHCK7R4ysqf7nyi3aYWaHDZg27WbaNn5Cn97OsrrFheER2kG4A7Da66DoAH82 96JA8a1v8ng+h2SOIZ7LEC8ADiklXdAdE9bQ8/AIMH0UzhdOvWAZQ2RImwq566ck6jQF CNPPkQAJfIgjFt5UhgkuKxgbkRSIfzXPt/acovKuwgQWLGFqq/0HzEpM8lJl1rIpjpfH sKqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f8qUjanz; 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 k19si295777ejc.167.2020.06.29.11.52.08; Mon, 29 Jun 2020 11:52:31 -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=f8qUjanz; 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 S1729515AbgF2SuT (ORCPT + 99 others); Mon, 29 Jun 2020 14:50:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:38872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729489AbgF2SuP (ORCPT ); Mon, 29 Jun 2020 14:50:15 -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 973D423A9E; Mon, 29 Jun 2020 17:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593451898; bh=pZLE0/dEHdwtp1oF+MjAXEqXTqNgCVHIaSv2gtI5f9s=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=f8qUjanzM6fLEdaY60FSVA2CwIpF7kO3WkjuSqnlYh2jAqvKu+o1wsZn6UNERVwIF d5ckFCxNes91ngGOaJMu6uCEBfCbVaipt8RQGri9T2gF+zuWrwVtmqNzy7jmm4wNgB LkU2C0N/4opuiae+izYpmAUFEmj7mr1ZBpWbIpd4= Date: Mon, 29 Jun 2020 10:31:37 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Xiaofei Tan cc: sstabellini@kernel.org, linux@armlinux.org.uk, xen-devel@lists.xenproject.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, jgross@suse.com, boris.ostrovsky@oracle.com Subject: Re: [PATCH] arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR In-Reply-To: <1593305826-28279-1-git-send-email-tanxiaofei@huawei.com> Message-ID: References: <1593305826-28279-1-git-send-email-tanxiaofei@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 Sun, 28 Jun 2020, Xiaofei Tan wrote: > Fix the following sparse warning: > > arch/arm64/xen/../../arm/xen/enlighten.c:244: warning: macro > "GRANT_TABLE_PHYSADDR" is not used [-Wunused-macros] > > It is an isolated macro, and should be removed when its last user > was deleted in the following commit 3cf4095d7446 ("arm/xen: Use > xen_xlate_map_ballooned_pages to setup grant table") > > Signed-off-by: Xiaofei Tan Reviewed-by: Stefano Stabellini > --- > arch/arm/xen/enlighten.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c > index fd4e1ce1..e93145d 100644 > --- a/arch/arm/xen/enlighten.c > +++ b/arch/arm/xen/enlighten.c > @@ -241,7 +241,6 @@ static int __init fdt_find_hyper_node(unsigned long node, const char *uname, > * see Documentation/devicetree/bindings/arm/xen.txt for the > * documentation of the Xen Device Tree format. > */ > -#define GRANT_TABLE_PHYSADDR 0 > void __init xen_early_init(void) > { > of_scan_flat_dt(fdt_find_hyper_node, NULL); > -- > 2.7.4 >