From patchwork Mon Jun 20 12:35:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 12887515 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 2757BC43334 for ; Mon, 20 Jun 2022 12:36:46 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.352762.579618 (Exim 4.92) (envelope-from ) id 1o3Gda-0003U3-PU; Mon, 20 Jun 2022 12:36:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 352762.579618; Mon, 20 Jun 2022 12:36:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1o3Gda-0003Tw-Kx; Mon, 20 Jun 2022 12:36:14 +0000 Received: by outflank-mailman (input) for mailman id 352762; Mon, 20 Jun 2022 12:36:13 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1o3GdY-0003SO-Mm for xen-devel@lists.xenproject.org; Mon, 20 Jun 2022 12:36:13 +0000 Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 8eddac4c-f095-11ec-bd2d-47488cf2e6aa; Mon, 20 Jun 2022 14:36:09 +0200 (CEST) Received: from mail-bn1nam07lp2045.outbound.protection.outlook.com (HELO NAM02-BN1-obe.outbound.protection.outlook.com) ([104.47.51.45]) by ob1.hc3370-68.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 20 Jun 2022 08:35:46 -0400 Received: from DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) by SJ0PR03MB5664.namprd03.prod.outlook.com (2603:10b6:a03:28f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Mon, 20 Jun 2022 12:35:44 +0000 Received: from DS7PR03MB5608.namprd03.prod.outlook.com ([fe80::40af:d5f4:95eb:d534]) by DS7PR03MB5608.namprd03.prod.outlook.com ([fe80::40af:d5f4:95eb:d534%7]) with mapi id 15.20.5353.022; Mon, 20 Jun 2022 12:35:44 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8eddac4c-f095-11ec-bd2d-47488cf2e6aa DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1655728569; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=RF9cLs8rPB7KP1minkLNrdTlLRnKkcWcJkUGY/AVWGo=; b=OqIIX7BSQ6if2yx+mZ1z+Sa9rqVcrbSCg6K+oiGDx2ooyIMAXE8IWCcy ybORZXcvebkngJDRQ4ynf+EKv/ETW17Q/7jayOKvkZlPMS7Nbe2mRiKoG hEw/KhWsNDh7vpZkrNRUlA7QuGvqM5jUNe2mtDxBFhCXa/EWutlN8W+od c=; X-IronPort-RemoteIP: 104.47.51.45 X-IronPort-MID: 73332866 X-IronPort-Reputation: None X-IronPort-Listener: OutboundMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED IronPort-Data: A9a23:2zHHeq5pNxyzR0gypFRkGwxRtFPGchMFZxGqfqrLsTDasY5as4F+v mocXDuPbPeDNmug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UnC+oBPr1QWl+i0p8WXexViRhmamidDlRRohYvAxyL5xQ1/80Q4Nrdt82K VE0yayrJxMFy7Nmyz7+pzhSwxqrEypunAv+NRjxUC3abFuJ4O5kLZvsn+8SPw7bWPHAcEcYa JT5fjnlbprmQjwVQGYgoFtqObcLUjbUC32AXTqgfblrAS+rEoJs3fw+/Zv4EvojKhNLaWsx9 60R5iAx4s+OvP/U8pGdZY8aPryLFDxajTxF0/XCWjbNcg8SgLwQtjMkf0I2N0= X-IronPort-AV: E=Sophos;i="5.92,306,1650945600"; d="scan'208";a="73332866" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=edw1k4evUgB/+3rZjxrHSMSaOD6wBirbfHbGxpL5nzTylRBdclrnpmYMXXrZoXkoJE646+DpBGjaAjnfVw1bdex2wvUZu87wkCDNri2SX38I7w29uEHa4gr8EF0uWI9I/dsNAQInI7cgUHC+IKisor7pP6DdZb+OFc8i0CLKt7AWjAGSNOhLU2bjkCkVoM73q/056QJlyi589JajWHoydPyuYAPidTON9rYWrueGTdWbRNaCnuHl+LcXnEl617iHob7o7jGWIr4KSSPymkulk2jpRycWpqz4xOVPIXHpuZjxLg3A65tO27OTdwvMPcKBJFK3dgy4cRQurxUsVpPt+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zqzsEmV6kSo5TqA5YhqsX2vWi4HCPrafXmwpwSoqiJk=; b=TKE3FFJURag25E121PbRbsClE+rqLojZQ8URMYmqdiunqP2opsCrkE+KknrmI1JIVhf2b4zSjjiFdmwmhWkjNmRnlhq95jlNdtDgBLdd0oGe1FOH9ieJyZ9SM3Um0C9IezJhPdfkin2p23aDp1ZYbBgG71njopcs9KNt/XhuI/oAgdOT5RRWcsNyYa9suKE3BQLkVExwU/nMXUdS24QrfZwJ4XIUYyjU9dCCr2EUEBSX6awwHs6FnW1d/jUb37jz+zJonSkzji6BhbtP0JO8Qvz5dWN3J4NE+xvGBVezL0Ohk7sNAq3mEvfaGD5rLGUBE93fgLE8qEnKQPmBYz5P+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zqzsEmV6kSo5TqA5YhqsX2vWi4HCPrafXmwpwSoqiJk=; b=XsivyPnkjxU4xSEGFjcFyI6ESVKeRPh/ILG2ymQJagHRkunNsfljIvJr9Mw9SJ/mVGSW/Axx/SnVe0Fe91WnTf8RtyLRuIGdTu25dh0fdvkNqBNsaocnYM8cPoKal0/gB3tiKo8/n1WSviApFQZqAc/jNFVwNppwqA7Wz4dzzJU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com; From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Roger Pau Monne , Wei Liu , Anthony PERARD , Juergen Gross Subject: [PATCH] tools/include: drop leading underscore from xen_list header Date: Mon, 20 Jun 2022 14:35:00 +0200 Message-Id: <20220620123500.2866-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.36.1 X-ClientProxiedBy: LNXP123CA0012.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::24) To DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 708469f1-15a3-4c48-988f-08da52b96523 X-MS-TrafficTypeDiagnostic: SJ0PR03MB5664:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eyfxsx/1dcnybseddKa/LNVBO+wtbRk2wIIY9u7jacgm5TEr6qwqxHZVyGN4Gck7lFv3+Ocw94+9QnsrzZPwsn8T1P773W8EmhdndHDWdTjqmJwnLQh3yLi/YJCEdeLB2xxfPkm53FUvsX1qrtE96Jxrijry2yLutzD2FJYQ9X23LGyJPpoJVz2nraeSAaoGbveeTZ5mDupmvkSP+QrkpilapMvb/+0iadFWDHkecm20NipxLNq3YPt3UXlijtXRD/HKbIPN1FpYF+4VDbSD14zeWl+MIXe4bjUH9hvcyVXKlAf5xtN5Tq45jGaVrsylXjE7qRuUhpReU3KrSWsXgZ+rfUznfqSwL/LZP476RHqlrj74yfXA56I0SQ24mlDxUpbCdO9DJ4WSqW++EhYgvji2FBIy0QwPgrRbltNiQD/Q+hAZaFb4W0BCLTRb8Ung7dYeh8MARXH5hiibUUZFwRsGTtMwQWXZ9J/aCbLsbVL2cPklrVrXMOtIgnCQRWOaRVHVVHCh+ZZ/a3pLHUBWkzJLb7GHHiEGHozPddfaskfj+8nkqr3zG2M/sFykBYcazA9VnEugwDIXZ5dbtPmVhzfjQzAPgRdNZzMMDzndU2OOmIc7U5t1KbG5Y6zVinRpW5wmKZud66aVfHtkbPe+VQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR03MB5608.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(376002)(136003)(396003)(346002)(39860400002)(8936002)(5660300002)(478600001)(36756003)(82960400001)(2616005)(1076003)(186003)(41300700001)(83380400001)(2906002)(26005)(6512007)(66476007)(66946007)(86362001)(66556008)(54906003)(8676002)(4326008)(6666004)(38100700002)(6506007)(316002)(6486002)(6916009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-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message-Id: 708469f1-15a3-4c48-988f-08da52b96523 X-MS-Exchange-CrossTenant-AuthSource: DS7PR03MB5608.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2022 12:35:44.7948 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QQ1xEmLRdLWH7is87ubUx1SnRQHiBBa4aSQOyVtZCs75dRoQYF7mCjC9oZWIbCOPda0+Qz1lxyjJheC+h+l4yg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB5664 A leading underscore is used to indicate auto generated headers, and the clean use of 'rm -f _*.h' will remove those. _xen_list.h also uses a leading underscore, but is checked in the repo and as such cannot be removed as part of the clean rule. Fix this by dropping the leading underscore, so that the header is not removed. Fixes: a03b3552d4 ('libs,tools/include: Clean "clean" targets') Signed-off-by: Roger Pau Monné Reviewed-by: Juergen Gross --- tools/include/Makefile | 4 ++-- tools/include/libxl.h | 2 +- tools/include/{_xen_list.h => xen_list.h} | 0 tools/include/xentoolcore_internal.h | 2 +- tools/libs/evtchn/minios.c | 2 +- tools/libs/light/libxl_qmp.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename tools/include/{_xen_list.h => xen_list.h} (100%) diff --git a/tools/include/Makefile b/tools/include/Makefile index 3a03a0b0fa..b488f7ca9f 100644 --- a/tools/include/Makefile +++ b/tools/include/Makefile @@ -70,13 +70,13 @@ install: all $(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(includedir)/xen/io $(INSTALL_DATA) xen/sys/*.h $(DESTDIR)$(includedir)/xen/sys $(INSTALL_DATA) xen/xsm/*.h $(DESTDIR)$(includedir)/xen/xsm - $(INSTALL_DATA) _xen_list.h $(DESTDIR)$(includedir) + $(INSTALL_DATA) xen_list.h $(DESTDIR)$(includedir) .PHONY: uninstall uninstall: echo "[FIXME] uninstall headers" rm -rf $(DESTDIR)$(includedir)/xen - rm -f $(DESTDIR)$(includedir)/_xen_list.h + rm -f $(DESTDIR)$(includedir)/xen_list.h .PHONY: clean clean: diff --git a/tools/include/libxl.h b/tools/include/libxl.h index 51a9b6cfac..7ce978e83c 100644 --- a/tools/include/libxl.h +++ b/tools/include/libxl.h @@ -747,7 +747,7 @@ typedef struct libxl__ctx libxl_ctx; #include -#include <_xen_list.h> +#include /* API compatibility. */ #ifdef LIBXL_API_VERSION diff --git a/tools/include/_xen_list.h b/tools/include/xen_list.h similarity index 100% rename from tools/include/_xen_list.h rename to tools/include/xen_list.h diff --git a/tools/include/xentoolcore_internal.h b/tools/include/xentoolcore_internal.h index deccefd612..1be014434d 100644 --- a/tools/include/xentoolcore_internal.h +++ b/tools/include/xentoolcore_internal.h @@ -27,7 +27,7 @@ #include #include "xentoolcore.h" -#include "_xen_list.h" +#include "xen_list.h" /*---------- active handle registration ----------*/ diff --git a/tools/libs/evtchn/minios.c b/tools/libs/evtchn/minios.c index 8ff46de884..28743cb055 100644 --- a/tools/libs/evtchn/minios.c +++ b/tools/libs/evtchn/minios.c @@ -20,7 +20,7 @@ * Split off from xc_minios.c */ -#include "_xen_list.h" +#include "xen_list.h" #include #include #include diff --git a/tools/libs/light/libxl_qmp.c b/tools/libs/light/libxl_qmp.c index 8faa102e4d..6b0cd607d8 100644 --- a/tools/libs/light/libxl_qmp.c +++ b/tools/libs/light/libxl_qmp.c @@ -63,7 +63,7 @@ #include -#include "_xen_list.h" +#include "xen_list.h" #include "libxl_internal.h" /* #define DEBUG_RECEIVED */