From nobody Sun Sep 14 05:14:46 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1757547662; cv=pass; d=zohomail.com; s=zohoarc; b=P+ue72hPLP8uWKiR3MCgKv7CNg5r4e8q2cf07YEhDN6mZKKr4Cfmr7KJ/kRbX8vpyh9iYyslW8SmWS1PFQNyqvmFMcC0bOf4adomk+tr6jJPXPqu79EYNuVTsv9k7Q4iCwAQvB4jfuLaHVrZNwCgxZSpEbf7zR138d3KQ21EOSU= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1757547662; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ywd4+98JNVWn5LlquwViQkCbOtL4x1Nk8xfenPNoMXs=; b=a19AsBauRccZxPL+c3bI3cwn+KIEhl0eO/nweUbsZi/4cLKFarTXqicbHPZBzGMLB9stn9lLBeAOgT1Rvm/vXBtB++ljN6dWi17BGBlQ8QiYbPHi+bAFPF6PH0TR5cwhFLMRsG1G3ASI4lenIsaz/lb8aD3aQxkochfKtUFFmuQ= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; 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=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1757547662114572.701080013941; Wed, 10 Sep 2025 16:41:02 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1118945.1464543 (Exim 4.92) (envelope-from ) id 1uwUQL-0004mc-8p; Wed, 10 Sep 2025 23:40:25 +0000 Received: by outflank-mailman (output) from mailman id 1118945.1464543; Wed, 10 Sep 2025 23:40:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uwUQL-0004mV-5X; Wed, 10 Sep 2025 23:40:25 +0000 Received: by outflank-mailman (input) for mailman id 1118945; Wed, 10 Sep 2025 23:40:24 +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 1uwUQK-0003qA-4O for xen-devel@lists.xenproject.org; Wed, 10 Sep 2025 23:40:24 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on20617.outbound.protection.outlook.com [2a01:111:f403:2413::617]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 83de0bbb-8e9f-11f0-9d13-b5c5bf9af7f9; Thu, 11 Sep 2025 01:40:22 +0200 (CEST) Received: from SJ0PR13CA0212.namprd13.prod.outlook.com (2603:10b6:a03:2c1::7) by IA0PR12MB8696.namprd12.prod.outlook.com (2603:10b6:208:48f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9094.22; Wed, 10 Sep 2025 23:40:17 +0000 Received: from SJ5PEPF000001C8.namprd05.prod.outlook.com (2603:10b6:a03:2c1:cafe::68) by SJ0PR13CA0212.outlook.office365.com (2603:10b6:a03:2c1::7) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9137.6 via Frontend Transport; Wed, 10 Sep 2025 23:40:16 +0000 Received: from satlexmb07.amd.com (165.204.84.17) by SJ5PEPF000001C8.mail.protection.outlook.com (10.167.242.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9115.13 via Frontend Transport; Wed, 10 Sep 2025 23:40:15 +0000 Received: from Satlexmb09.amd.com (10.181.42.218) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Wed, 10 Sep 2025 16:40:13 -0700 Received: from satlexmb07.amd.com (10.181.42.216) by satlexmb09.amd.com (10.181.42.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Wed, 10 Sep 2025 16:40:12 -0700 Received: from xsjvictlira50.xilinx.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17 via Frontend Transport; Wed, 10 Sep 2025 16:40:12 -0700 X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 83de0bbb-8e9f-11f0-9d13-b5c5bf9af7f9 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vq87AHm+TLSXR6RTPQRcOuuNQydcXgID9TXIKtukqlrLr1SOEkITG0URqclAJ2zn48g1jezvx8G+4XzGo9uaaig0fUT2IgW7IAqCxsKsQR/zBvFTXWvcLf0lfopjUs4hbtEp7d0sAmmBeUTAXKxOrh6ufY2JAxkJraJd+OL33C2NTkfhN8n7uvSOOQswsR+pHoyP/zMedTa24BtSrAjFuHdeHJMC9+L06U/eN+STjWlU/skiAcXJ7tcuKvkCCTiL9T7my3kKGCtLwbPssDf15sPVVOzatE3td5igSoxQwrG2KMk8egJcKrFMt9SieNkjCmWRfSFdfv5CbVmTlDJ2WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ywd4+98JNVWn5LlquwViQkCbOtL4x1Nk8xfenPNoMXs=; b=WzckdDXhbPy/horpvlCWctXE04sL50QB0kAlhCav4D+Urqz3qOV6KIARTi+nnxTzow/AaT+tglg6Yukt+vl67x+Vtdh+tfKdwd3RIBJXnVxlbZnwvAUfKW8FrRLJaray9zwaa7PEEwLU7NtBq1ObN6a3DTw3Sn/j3xlgW8HxV/crGvfgD3J+QWfBP+SXL0TAGvXRdP+AvB/rRPjxREjiTPmopK1QqZZlfNM7JHpl6riA8Ja5jxeu2JsVtWXVQtD39T/UGkuOGVhYFu7cfmBzzLpHtTfjyf5onKG3pTVAQOYxmvxe91VShfgGOt8JNsZIcEpns3mzXREwcVxM6bepzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ywd4+98JNVWn5LlquwViQkCbOtL4x1Nk8xfenPNoMXs=; b=ZFJcNzSBHtHKQ809GH/WJgToK5kkpAiObZEtET5+oqw0Kd7d/XOUkUwG0kPq6lDA9QXY78WGthy70GA+cV9ARMO1mBS9E0IMOpT+21epaXdUHFeEyl2AbR2TxB1sG84umlx/KNCuz63HRhsfHKk2Uv9zDSbFGWQSiSObi68SBT0= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C From: To: CC: Victor Lira , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , "Julien Grall" , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [PATCH v1] coverage: add missing include for macro Date: Wed, 10 Sep 2025 16:40:02 -0700 Message-ID: X-Mailer: git-send-email 2.50.GIT MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001C8:EE_|IA0PR12MB8696:EE_ X-MS-Office365-Filtering-Correlation-Id: f59560b8-0ad3-4857-f94f-08ddf0c364e7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?sVtTsHYYZUsT6jpUFu88i8sNhGOBKBdBurwgCM9Cb3guzWftETAAF4apy5M8?= =?us-ascii?Q?zb9V+FehRT4iV+i41+GiJV8NPumMLQJhvjTM/cyaJxpAeoTiwed4jEbkDfuE?= =?us-ascii?Q?0i8C/IEgb6ZyEYIb00kCcdISbvs7BA3PPvOspZQIxsoSHEHsaH9oe+SWcukC?= =?us-ascii?Q?unRu3qNUcTCld9U/4j2XpaTpCYnpKIxG3c2hckEEc5iJcSwI3qLJhaCCrK5F?= =?us-ascii?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Fd7aL?= =?us-ascii?Q?kIpxPJdoh5iKv3Mevql6UZfhayxvhhDhU5q6Cohgp6/SXmNbrCe+01P6LERT?= =?us-ascii?Q?oe3/wF90mSX1Si6IL/2zBrDY4FKeuig1TXyT0INXYqXW78JXE6ETqZx2+tso?= =?us-ascii?Q?0JQHLIB3uhItLW6ZXpNiqHZRILx0q8LBb3vQwlJuM8saDeAxaCb9F0G9uMCQ?= =?us-ascii?Q?q/qKbl0fhFXBmxxTBZpNxLg55Xg1IFqqHw+KLyQAVQ/Odn+CgR4I0LI2Rey6?= =?us-ascii?Q?0+B7E98CsmMWPvNefFhyPhEMCBthOVpdP6fc4ooIhY0vfZ5uuW85Bay63bNP?= =?us-ascii?Q?IIcYie71K8BWJgVZjeDwDSwWisahiwPrCnoxAAB0DihVh07AINyyVAPqIWno?= =?us-ascii?Q?9NSIGymBDY24VgR80OqFJXb9m7iZjFmeje12?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:satlexmb07.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2025 23:40:15.7898 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f59560b8-0ad3-4857-f94f-08ddf0c364e7 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001C8.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8696 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1757547664576116600 Content-Type: text/plain; charset="utf-8" From: Victor Lira The missing include prevents it from compiling when CONFIG_COVERAGE is not = set and the header is included in a file that has not already included errno.h, causing EOPNOTSUPP to be undeclared. Add the missing include. Signed-off-by: Victor Lira Acked-by: Andrew Cooper , although --- example of the problem: diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 7ad870e382c..4d27f16e8ef 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include --- In file included from arch/arm/setup.c:13: ./include/xen/coverage.h: In function 'sysctl_cov_op': ./include/xen/coverage.h:10:13: error: 'EOPNOTSUPP' undeclared (first u= se in this function) 10 | return -EOPNOTSUPP; --- xen/include/xen/coverage.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/xen/coverage.h b/xen/include/xen/coverage.h index ba5fb67947..28506c239b 100644 --- a/xen/include/xen/coverage.h +++ b/xen/include/xen/coverage.h @@ -5,6 +5,7 @@ #include int sysctl_cov_op(struct xen_sysctl_coverage_op *op); #else +#include static inline int sysctl_cov_op(void *unused) { return -EOPNOTSUPP; -- 2.50.GIT