From patchwork Wed Mar 19 10:37:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 14022418 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2069.outbound.protection.outlook.com [40.107.22.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D566C8F5A for ; Wed, 19 Mar 2025 10:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380673; cv=fail; b=qBooOsEg5dgd/R1cyBLxR5opFengT1jarrl/iS87IwLqFJQIWrgpo2FEviP77N16GponsSN3wsxtSRO14lU+g97N1LXZETz3lVjTau72J/e2f1FtaCxziG9cBvR9Ux3mmQIUa5R0HoPohbMTzeKfZn7dQhizfKYXtYGNcpADllU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380673; c=relaxed/simple; bh=jXXNgJTWTk8dVuDax09gh/e1IqeS/lxI8waL88eygyw=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=laOPsuV6TE22Y9LCSifGOwyt3+QQj3b7EvYF58YkirFfear8eME3QDsWXVsiUPun0fUf+CJ2Aso2tDVvj0ovES1ZcdFrX6oqX3qr4APWM06WbLIKGk9iQ/DYtD7is3yAQ1nn5y6eercgn7SyAGfy40eJrbLzWiJwHMWgWNMcSfk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de; spf=pass smtp.mailfrom=arri.de; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b=q6h0KauK; arc=fail smtp.client-ip=40.107.22.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arri.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b="q6h0KauK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PU0r2vkJY7rpmzs81SrCt8sMoRcgORRsH/ljp7KvIUR+vP3R14SIlv1EQVMOJs01h0Ldtskw6wvN7r46ioQdNRYVAuxD8MteEBp6n9L5ZH9+g6gbXXYjZ9enlvVc1aqNSeJn7oe/8tRdOut4y0G1eJkIRQCNlNCSfvLQyQvOq6Or4wJxU0HktZJEYvD8oAY9++Bcq4ji8oIPHC8dz6UTZqEaiGZrFUtVoSlUCEvLWadN3izmM/5qU59MqStpPMrQBbwL5CnBewcU8Xw537mlCZ0d1ZyW+UW+AEvCOxMoCGM0CmzHnzQtXHSpGsWdnXHm/dhwTdeJ8ukuNsJt30n0hw== 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=qTKJO1b3yBpEtZ6cW/yx4Et261kuaISsFHZyANcXTaE=; b=s6ywDhBY8Dzvv/0T8GOj/OL9Dimrqf37TalhCKwSvJSVcnaerXzw3P1xsGvdf5U/oHXAVAEYlMG/XPXXtz3LBKbMlKII4fuKqY0evBrY1/vlHud/BLNgXLprgsqGxlHv5RIUt5jfByhol7LOk4F2Q4xiZycFrBH/M88G5M7DiVpsN8LI/z+i1Euf5godCyWtSvzL7IGihblidRY+IAR4QHpgtDEnOYuKjfBkUyNN00Slyb0vjuzHPCm7Drg9C/mobXn/Ve7o6Cv8/Zhccv+lr0tZGBvdwfeH3vLsHEEGKWHrNLvhVhKmlPFUdIf7UbQSngJvMRX+Ui0v3BhG01zCkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arri.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qTKJO1b3yBpEtZ6cW/yx4Et261kuaISsFHZyANcXTaE=; b=q6h0KauKB1vL5QE0ryZ8fv9xK5q9iAAUaJmGHsai55mk5U1QpPd/JpCrRP0/j6ZLKW1bnE7W4jYeALK24nQ/Q5yLt/1vC4INx+p75BHNptPRy5NHyjTO740lF3NmWN21ZZb0EefHosiiohDyAR6mMal72r3gEM0SL9Cdmrm1t30= Received: from AM0PR01CA0120.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::25) by VI2PR03MB10955.eurprd03.prod.outlook.com (2603:10a6:800:291::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Wed, 19 Mar 2025 10:37:44 +0000 Received: from AMS0EPF00000196.eurprd05.prod.outlook.com (2603:10a6:208:168:cafe::e2) by AM0PR01CA0120.outlook.office365.com (2603:10a6:208:168::25) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.33 via Frontend Transport; Wed, 19 Mar 2025 10:37:44 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by AMS0EPF00000196.mail.protection.outlook.com (10.167.16.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.20 via Frontend Transport; Wed, 19 Mar 2025 10:37:44 +0000 Received: from N9W6SW14.arri.de (10.30.5.20) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.38; Wed, 19 Mar 2025 11:37:43 +0100 From: Christian Eggers To: CC: Christian Eggers Subject: [PATCH BlueZ 1/5] tools: iso-tester: add inclusion of time.h Date: Wed, 19 Mar 2025 11:37:20 +0100 Message-ID: <20250319103724.10433-1-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF00000196:EE_|VI2PR03MB10955:EE_ X-MS-Office365-Filtering-Correlation-Id: fd3273ca-388c-4e13-1f46-08dd66d21561 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014; X-Microsoft-Antispam-Message-Info: pBvGECrhS3VCyN/8RSZcF93M7d/AvJ2DBPRkJfrxuO7/3fkflEoP+qDjZaNZxXgt2a1ZpV6UNL4k076RlTMnZ07UttDGbT8ujfP5dwP65QB90T86EPsVkmf968t527ZJhI2vmugH747yu0DWIBAwHC7e/XtNYdT/YtYWruhGpga8Z6duvp5RLS7NdYM+Z3ilCv06dbdnzvoI2QdYG1HYJeVqlmgjDOsumyBXjkGw1UvLJqfqY0xMTXRcFW/fqdrZkPgK11v/Cz2zhs0n1ZPtA0J3lqMz0G6xTj/tYrpwSLyx5RrVVpwAdZLGYiCjQAGBROmseU7EL3jgxNOcZQCNbdZwKOLE7uQ8HyoVLbCQ/mmF4q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wF9Y3bxSgSRbYN7SnYLnHmoI1S2B8ECDco72H1DISwrpGYZKWQiqnEJvL5upBdwj3BvpJUZkWUY8= X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2025 10:37:44.3861 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd3273ca-388c-4e13-1f46-08dd66d21561 X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000196.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR03MB10955 Inclusion of requires that 'struct timespec' has already been defined: | In file included from ../bluez-5.79/tools/iso-tester.c:21: | /usr/include/linux/errqueue.h:57:25: error: array type has incomplete element type 'struct timespec' | 57 | struct timespec ts[3]; | | ^~ --- tools/iso-tester.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/iso-tester.c b/tools/iso-tester.c index 640692b779c9..350775fddc96 100644 --- a/tools/iso-tester.c +++ b/tools/iso-tester.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include From patchwork Wed Mar 19 10:37:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 14022419 Received: from AS8PR03CU001.outbound.protection.outlook.com (mail-westeuropeazon11012008.outbound.protection.outlook.com [52.101.71.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DCF620E31B for ; Wed, 19 Mar 2025 10:37:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.71.8 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380676; cv=fail; b=kNDSj2F6SkyMLyDlHUgPu9UhENhzIErLHvo54FdqicFfBq8CHYJM1C52YS7yzPB45BgKnCxXT0Yz7kNuy4TX9+u1XcN63tWIYj1fVqe9n+HF+VtE3WI1xQATniprdY2xsHzCXSvtPooaZcx9jFlBTyJEJNL6+W9n5OLHweLq1HY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380676; c=relaxed/simple; bh=zVdNB62KLj8tZmiIpDCSnQN+R5dn6zx3GCz1YAdjD/U=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JRPT0NB26/AvuafQa9ICCtGF1AsOgbtUL6dvI0ecArKozRhtuzGhDUX22gHaPB2vgdmCyxciPNIdsXznTJP1EZq/Xq2zfzdNkJY4U14Jy9awBcW7ET0AJk5mUHNfpTvPQEaFTsMAV2ijwV1VVK+Bkp/Rg22op3SBD0P0aikGYOo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de; spf=pass smtp.mailfrom=arri.de; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b=ukppw7CD; arc=fail smtp.client-ip=52.101.71.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arri.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b="ukppw7CD" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=A4de3b0Z1vUd7jwCeQt5d/eP0HMQqkf+xwtixUQESnAj5dBFgrkO0RJa5eR/CGNqB6GwlF1kONSU9z0aYQ/H/h+B32CKv2W7ghNp9cF2cvnpTeUTcSLf5SpSKyRRcpcwZB8Ter1Z54qakg1blW+QVzsnvzwWua7kBtyHGVHv2B4Im7/2zDAoOK5X93EWvPld1NTQ8907ItcGBstUGhF8GWQtWF8wm1Huj48xOgIQlv9YmHD13ZoARAdjG+PWcpRu89Iqfi3aRfVCEKYqOwflDcSDGIKsqXPPf8wUbxt0Oc7qhgiAWRXyN4YiTNgmZ2VOTuFhKPFspRAYroddPY46Jg== 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=/gej0HRQ04nVo3rYN+KvlFp7ModDVv3dnJNVy7igk8E=; b=Injj+SM8y1JD3WWpvog/AGSzTVLnTYhVWQMA8/sI5AyqZS996EhKiW7UovONrQh8KZhelTYGaPiA0jENpoNmDrzZwf/fWyg5sW0RsqPoAtfMGG4spVPi/muiYD8a4+PTyxWCkw9U8cwwmcxKwceVbaHPVJpvmw+rBiVW31+eBz6wv7zV9Wui3LWMVYCdA5H2o9vYAubW50cejuwtEhacltJ0CdtqMtNHk4uu0pzuGCLeGd4xXS7LSi1/IMHxGoOA0z/xLpNbGYzEF0mMgpAn1rDbL/+4UW2vqTmDQJxBfvSqXKQmQGiIk6MKiPFP4LfsSRsuqz6vnneU6sa1BdrIUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arri.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/gej0HRQ04nVo3rYN+KvlFp7ModDVv3dnJNVy7igk8E=; b=ukppw7CDSZrkI6I2v1zZYb2KQh4ZZNJpDddgwXyADkaIuP82rJ3Kj1sRWbJ5v6JANO1GTGpYR9x3vLuieiGIawvSnKL9xSkX8v3z5geteEE3VxvApuLFIT5fqwBhsXuw8MEw/BCkAM8YIpkL88Zx/CaQeVDodvkroc+bgOIOMQs= Received: from AM0PR10CA0102.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e6::19) by DB9PR03MB7227.eurprd03.prod.outlook.com (2603:10a6:10:1fe::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Wed, 19 Mar 2025 10:37:47 +0000 Received: from AMS0EPF00000193.eurprd05.prod.outlook.com (2603:10a6:208:e6:cafe::5c) by AM0PR10CA0102.outlook.office365.com (2603:10a6:208:e6::19) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.34 via Frontend Transport; Wed, 19 Mar 2025 10:37:47 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by AMS0EPF00000193.mail.protection.outlook.com (10.167.16.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.20 via Frontend Transport; Wed, 19 Mar 2025 10:37:46 +0000 Received: from N9W6SW14.arri.de (10.30.5.20) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.38; Wed, 19 Mar 2025 11:37:46 +0100 From: Christian Eggers To: CC: Christian Eggers Subject: [PATCH BlueZ 2/5] mesh: include before Date: Wed, 19 Mar 2025 11:37:21 +0100 Message-ID: <20250319103724.10433-2-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250319103724.10433-1-ceggers@arri.de> References: <20250319103724.10433-1-ceggers@arri.de> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF00000193:EE_|DB9PR03MB7227:EE_ X-MS-Office365-Filtering-Correlation-Id: 40383f08-a41f-4d4b-0b04-08dd66d216cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: LcoKU1/CGclglRak7nqkNlR2c6kJmKS+P675z00px9GK9qnTZCfdqA/8iZWJpLIagonGN0xhW1ge35SM7iYGRgredHzIs4wwtcFwh9Lj/ZtBXqMPvgnimkDd1JrSF7BByYOG5Slz84JFHYtZduGb9Y7eEbo7bW7ubkoMVnkefVjsHIwo+B5KEqRlsMkFCFGWKVQAlicp/CFZjvjPS4QRqdPWxRK6xPk5Up05JmwCMElhkOzr8p1QaQYqPyIZcVGxx5ZcrumZIRKfT5Y0KSloDkN3qmv7RxQWR9Fh3ExFzg31Qck7ZfyKw5YOOLAVwBJ/AZtYKhwlEuStmQwouZIR4tlYC7FJnq0qCk+p0CMHiKezKNgD4ZJpwflA6Ojd/Xi38JGXKVkDChNvsLYO3XbZmU5tJ07bLgrqNwIOAYpLAgbi3aUa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CL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(1800799024)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2025 10:37:46.7867 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 40383f08-a41f-4d4b-0b04-08dd66d216cd X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000193.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR03MB7227 I get many of such warnings: In file included from ../bluez-5.79/ell/ell.h:8, from ../bluez-5.79/mesh/prov-initiator.c:15: ../bluez-5.79/ell/time-private.h:15:43: warning: 'struct timespec' declared inside parameter list will not be visible outside of this definition or declaration 15 | uint64_t _time_from_timespec(const struct timespec *ts); | ^~~~~~~~ It seems that there's no guarantee that 'struct timespec' will be available via , so include directly [1] [1] https://libc-alpha.sourceware.narkive.com/yb0aXzSp/defining-timespec-in-time-h-or-sys-time-h#post3 --- mesh/agent.c | 2 ++ mesh/appkey.c | 2 ++ mesh/cfgmod-server.c | 1 + mesh/crypto.c | 1 + mesh/dbus.c | 2 ++ mesh/friend.c | 2 ++ mesh/keyring.c | 1 + mesh/main.c | 1 + mesh/manager.c | 2 ++ mesh/mesh-config-json.c | 1 + mesh/mesh-io-generic.c | 1 + mesh/mesh-io-mgmt.c | 1 + mesh/mesh-io-unit.c | 1 + mesh/mesh-io.c | 2 ++ mesh/mesh-mgmt.c | 2 ++ mesh/mesh.c | 2 ++ mesh/model.c | 1 + mesh/net-keys.c | 2 ++ mesh/net.c | 1 + mesh/node.c | 1 + mesh/pb-adv.c | 2 ++ mesh/prov-acceptor.c | 2 ++ mesh/prov-initiator.c | 2 ++ mesh/prvbeac-server.c | 1 + mesh/remprv-server.c | 1 + mesh/rpl.c | 1 + src/shared/btp.c | 1 + src/shared/io-ell.c | 1 + src/shared/mainloop-ell.c | 1 + src/shared/timeout-ell.c | 2 ++ tools/mesh/cfgcli.c | 1 + tools/mesh/keys.c | 2 ++ tools/mesh/remote.c | 2 ++ tools/mesh/util.c | 1 + 34 files changed, 49 insertions(+) diff --git a/mesh/agent.c b/mesh/agent.c index 2f9697a3330c..a1413c0008dc 100644 --- a/mesh/agent.c +++ b/mesh/agent.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "mesh/mesh.h" diff --git a/mesh/appkey.c b/mesh/appkey.c index f31d8194298e..b03ddae4714d 100644 --- a/mesh/appkey.c +++ b/mesh/appkey.c @@ -12,6 +12,8 @@ #include #endif +#include + #define _GNU_SOURCE #include diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c index f64566daf39e..e5d5a86e0d8e 100644 --- a/mesh/cfgmod-server.c +++ b/mesh/cfgmod-server.c @@ -13,6 +13,7 @@ #endif #include +#include #include #include "mesh/mesh-defs.h" diff --git a/mesh/crypto.c b/mesh/crypto.c index b712a26549ad..b7607bb83794 100644 --- a/mesh/crypto.c +++ b/mesh/crypto.c @@ -15,6 +15,7 @@ #define _GNU_SOURCE #include #include +#include #include #include "mesh/mesh-defs.h" diff --git a/mesh/dbus.c b/mesh/dbus.c index a7abdc428e88..c43d6550d87f 100644 --- a/mesh/dbus.c +++ b/mesh/dbus.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "mesh/mesh-defs.h" diff --git a/mesh/friend.c b/mesh/friend.c index 5b73da68916f..6aacf6338f24 100644 --- a/mesh/friend.c +++ b/mesh/friend.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "mesh/mesh-defs.h" diff --git a/mesh/keyring.c b/mesh/keyring.c index 1e1de3e54bfb..cb091e15b613 100644 --- a/mesh/keyring.c +++ b/mesh/keyring.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/mesh/main.c b/mesh/main.c index 145bcfa98d85..5b8af4bc7345 100644 --- a/mesh/main.c +++ b/mesh/main.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/mesh/manager.c b/mesh/manager.c index 0c98721bf4b5..63551b4ee4c7 100644 --- a/mesh/manager.c +++ b/mesh/manager.c @@ -12,6 +12,8 @@ #include #endif +#include + #define _GNU_SOURCE #include diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c index 5372130d7f8a..86e7d87e482e 100644 --- a/mesh/mesh-config-json.c +++ b/mesh/mesh-config-json.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/mesh/mesh-io-generic.c b/mesh/mesh-io-generic.c index 13a863b48158..3da0a8c2d227 100644 --- a/mesh/mesh-io-generic.c +++ b/mesh/mesh-io-generic.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "monitor/bt.h" diff --git a/mesh/mesh-io-mgmt.c b/mesh/mesh-io-mgmt.c index 5f0eb206b3b2..d185f5c9760f 100644 --- a/mesh/mesh-io-mgmt.c +++ b/mesh/mesh-io-mgmt.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "monitor/bt.h" diff --git a/mesh/mesh-io-unit.c b/mesh/mesh-io-unit.c index a9fa53308eb1..4fd72bf8480d 100644 --- a/mesh/mesh-io-unit.c +++ b/mesh/mesh-io-unit.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include "mesh/mesh-defs.h" diff --git a/mesh/mesh-io.c b/mesh/mesh-io.c index b953bf4cff81..99c7c2014375 100644 --- a/mesh/mesh-io.c +++ b/mesh/mesh-io.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "lib/bluetooth.h" diff --git a/mesh/mesh-mgmt.c b/mesh/mesh-mgmt.c index fd21a168ab27..87036d180fe0 100644 --- a/mesh/mesh-mgmt.c +++ b/mesh/mesh-mgmt.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "lib/bluetooth.h" diff --git a/mesh/mesh.c b/mesh/mesh.c index 91cf25175384..50059adbed57 100644 --- a/mesh/mesh.c +++ b/mesh/mesh.c @@ -12,6 +12,8 @@ #include #endif +#include + #define _GNU_SOURCE #include diff --git a/mesh/model.c b/mesh/model.c index 4ccafa17edd4..01b21675c557 100644 --- a/mesh/model.c +++ b/mesh/model.c @@ -13,6 +13,7 @@ #endif #include +#include #include #include "mesh/mesh-defs.h" diff --git a/mesh/net-keys.c b/mesh/net-keys.c index 57a9df04a2a7..42d498ce0ede 100644 --- a/mesh/net-keys.c +++ b/mesh/net-keys.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "mesh/mesh-defs.h" diff --git a/mesh/net.c b/mesh/net.c index 05ca48326fc5..cc862dade5ae 100644 --- a/mesh/net.c +++ b/mesh/net.c @@ -15,6 +15,7 @@ #define _GNU_SOURCE #include +#include #include diff --git a/mesh/node.c b/mesh/node.c index 93537c5ba4cc..a85814727d40 100644 --- a/mesh/node.c +++ b/mesh/node.c @@ -17,6 +17,7 @@ #include #include #include +#include #include diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c index 7a1dd87dc210..0b1fd7d577ff 100644 --- a/mesh/pb-adv.c +++ b/mesh/pb-adv.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "mesh/mesh-defs.h" diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c index fd9d4cd5d209..241345bdd1ea 100644 --- a/mesh/prov-acceptor.c +++ b/mesh/prov-acceptor.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "src/shared/ecc.h" diff --git a/mesh/prov-initiator.c b/mesh/prov-initiator.c index e353d23865ef..dc19d1e9b7a5 100644 --- a/mesh/prov-initiator.c +++ b/mesh/prov-initiator.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "src/shared/ecc.h" diff --git a/mesh/prvbeac-server.c b/mesh/prvbeac-server.c index dd0e4cbf449e..f318852b8a42 100644 --- a/mesh/prvbeac-server.c +++ b/mesh/prvbeac-server.c @@ -22,6 +22,7 @@ #endif #include +#include #include #include "mesh/mesh-defs.h" diff --git a/mesh/remprv-server.c b/mesh/remprv-server.c index 927dbab0e361..53c764f8626a 100644 --- a/mesh/remprv-server.c +++ b/mesh/remprv-server.c @@ -22,6 +22,7 @@ #endif #include +#include #include #include "src/shared/ad.h" diff --git a/mesh/rpl.c b/mesh/rpl.c index 69533bf431b4..8de4a8d567b1 100644 --- a/mesh/rpl.c +++ b/mesh/rpl.c @@ -19,6 +19,7 @@ #include #include #include +#include #include diff --git a/src/shared/btp.c b/src/shared/btp.c index e54eb830f9b4..04ccae9d81f1 100644 --- a/src/shared/btp.c +++ b/src/shared/btp.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include diff --git a/src/shared/io-ell.c b/src/shared/io-ell.c index dee9a95c945c..35dc38e2ee67 100644 --- a/src/shared/io-ell.c +++ b/src/shared/io-ell.c @@ -15,6 +15,7 @@ #include #include #include +#include #include diff --git a/src/shared/mainloop-ell.c b/src/shared/mainloop-ell.c index 5cc0311c2a42..1aec7fad9e96 100644 --- a/src/shared/mainloop-ell.c +++ b/src/shared/mainloop-ell.c @@ -16,6 +16,7 @@ #include #include #include +#include #include diff --git a/src/shared/timeout-ell.c b/src/shared/timeout-ell.c index 02628692642a..7867c7570277 100644 --- a/src/shared/timeout-ell.c +++ b/src/shared/timeout-ell.c @@ -8,6 +8,8 @@ * */ +#include + #include #include "timeout.h" diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c index 1a404af38ebd..fb6fa666d2db 100644 --- a/tools/mesh/cfgcli.c +++ b/tools/mesh/cfgcli.c @@ -14,6 +14,7 @@ #include #include +#include #include diff --git a/tools/mesh/keys.c b/tools/mesh/keys.c index 134c1a10e210..d1d2ffefa1e6 100644 --- a/tools/mesh/keys.c +++ b/tools/mesh/keys.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "src/shared/shell.h" diff --git a/tools/mesh/remote.c b/tools/mesh/remote.c index b917ae9df227..2d400081994e 100644 --- a/tools/mesh/remote.c +++ b/tools/mesh/remote.c @@ -12,6 +12,8 @@ #include #endif +#include + #include #include "src/shared/shell.h" diff --git a/tools/mesh/util.c b/tools/mesh/util.c index 6e81bf5f0285..c11010129f3e 100644 --- a/tools/mesh/util.c +++ b/tools/mesh/util.c @@ -13,6 +13,7 @@ #endif #include +#include #include From patchwork Wed Mar 19 10:37:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 14022420 Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazon11013057.outbound.protection.outlook.com [40.107.159.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 307F3253F0A for ; Wed, 19 Mar 2025 10:37:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.159.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380680; cv=fail; b=W5P6/XDRQfPtSgld/+6E2uTiJZjzs/tl7cOJvPgZUC5DPEFYwtxPH1M1QfUPQnVuFpfk1K/GDixI5Zjbja9tgr4oACCy9Uiofkh9Cir61BmOVXd7i0rZwuck3GEEH7Waxy8IkjxqIA6PtKMF6La5Mxp/aVhb53dL+qMXkYo0sxA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380680; c=relaxed/simple; bh=3So44Es/hyYkUXxc/2pEJYsNbUHecRoSpIGpLL/h8OY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gcogppWrqwROyoAe4hub+gdo3a7RDvAP09MX5U9mzDdxcx0pvqrmx9qI1Yng0nCjG9fYPm9PKzlmX1Ku9zPv+VldpDehaEiKMWNQnKgaMx82maHMP7rl42aDcu/v4FH6i0pqWgV4+hzo8dJ3xIYhAv4vnMjKCkPjoJRmUvfCOdI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de; spf=pass smtp.mailfrom=arri.de; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b=UU9NghSr; arc=fail smtp.client-ip=40.107.159.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arri.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b="UU9NghSr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fTYpGjKZrtnLGB+LupJdG/xoSku9RVPPjeZLjQ4t757/wEEL+iZ/96Y4JCTIDyCKPBjC5vRrH91KRTxpIpd7+GhjTsNVLJp3R7kU6ksfYPCAgLKLlkLjaXUF66JKWqT/i6jWKVhX6BVLqGahU1HBYGmZPyEBikYSTAQYX+G9kXM72hxMwuSCP6HNlGS0N8515CKXN8BGAeORyTZuMkIPF8pXt+T4KCIG7TpseklElj/KpNIOONAaj8/uYntMQ7zEg3rD8LnkjBTll9mTEL+3GajJe9G6TTEtfc4vgK+ai2jdHWhmSu7ytKZ0IKKPHDuXfaoRE/2psUdlhH5V7V3kqA== 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=AVkYIxM5z3Csw3gO60KpQP0vzv/EIwU68h1ezzmXBxo=; b=vC3zk+evhpWAddo15RUUrxkmgoCylnNIHhM3pr5bcCqaLS7RfErmxzQ+Fc/RTn5nXvlsvHMNuVkyXnHKJz6Y0XiytmSbBLMZapnZgRDOHseBASe8Yj6wODzIT07v224v2eC856MmicgeJ4lxSsKln4Kz6AJQpLUtJZ/fOXHRsmFPG5s5YTYcpwOihWzUIwX1OQACkbI1uZztjonzcNKKUBgcbqcz5TisXQ7E+rzEN5/OKGXDQLnYaerwmj7YSY44klSE1gKdAAmUSBZJylL5EZopNOTve3fXSN7KtbM2pVLmsULRn/oRP7uVg0hzhG9uCXwBB02I9h3hRMAv+MRNOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arri.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AVkYIxM5z3Csw3gO60KpQP0vzv/EIwU68h1ezzmXBxo=; b=UU9NghSrww/jFGUlURRfgne4azgPcPquzGfhxjAnI+0YSZE32fe8wnR3y/xuYUKj5QzaEonXsvAKglTM0HF0cu+HAeOtNqqSL24Bco10Isyo3qI91NhkT43z9wCBxaJTowvrR0l/JOhozcJC0B1U9vN0c6asFbatJwWttqLrUgY= Received: from AM0PR01CA0142.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::47) by PAWPR03MB9132.eurprd03.prod.outlook.com (2603:10a6:102:340::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Wed, 19 Mar 2025 10:37:49 +0000 Received: from AMS0EPF00000196.eurprd05.prod.outlook.com (2603:10a6:208:168:cafe::7b) by AM0PR01CA0142.outlook.office365.com (2603:10a6:208:168::47) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.33 via Frontend Transport; Wed, 19 Mar 2025 10:37:49 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by AMS0EPF00000196.mail.protection.outlook.com (10.167.16.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.20 via Frontend Transport; Wed, 19 Mar 2025 10:37:49 +0000 Received: from N9W6SW14.arri.de (10.30.5.20) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.38; Wed, 19 Mar 2025 11:37:49 +0100 From: Christian Eggers To: CC: Christian Eggers Subject: [PATCH BlueZ 3/5] tools/btpclient: include before Date: Wed, 19 Mar 2025 11:37:22 +0100 Message-ID: <20250319103724.10433-3-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250319103724.10433-1-ceggers@arri.de> References: <20250319103724.10433-1-ceggers@arri.de> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF00000196:EE_|PAWPR03MB9132:EE_ X-MS-Office365-Filtering-Correlation-Id: b0638c80-e991-49c1-5dc9-08dd66d2186a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|36860700013|376014|13003099007; X-Microsoft-Antispam-Message-Info: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qmn1u1EYtDIWlTsg9GYSVlT0HPQvMLccHxoFa5ipbnB0wWlI5EGEt8ViP0f9EAqMt9C2rDBWEXjbyyKMwTP5Kb7IRx0Mx+eW6vw+Ly31uzTI6H7TMyDkQo6BlYDhJ5IXbki0RgNqxCfGgjm6OOGEJVSg2iX5gne8p3pSQ95fE9Y/B01laVbWb9Fqs6Ah7aJu6ItL/cC+TY2oVskXJPbxwDL09BPFnGto3jkBdPh4nMvw0yhxCxsDvowrrkY+pt3VrFjuzPTVZQrLHbJmvZeYundgh2s24cmndJNgh/9qIOlTIxT0DNEo+5YTp+QpOY/BPZHh+x+gWRs6gvbj1TMvAQwBjOYigi83k+jt4QLfti8e9Sin4vQAvsi4BwU= X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2025 10:37:49.4174 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b0638c80-e991-49c1-5dc9-08dd66d2186a X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000196.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR03MB9132 It seems that there's no guarantee that 'struct timespec' will be available via , so include directly [1] [1] https://libc-alpha.sourceware.narkive.com/yb0aXzSp/defining-timespec-in-time-h-or-sys-time-h#post3 --- tools/btpclient.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/btpclient.c b/tools/btpclient.c index bdfff5df83c2..055270edb51b 100644 --- a/tools/btpclient.c +++ b/tools/btpclient.c @@ -17,6 +17,7 @@ #include #include #include +#include #include From patchwork Wed Mar 19 10:37:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 14022421 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011055.outbound.protection.outlook.com [52.101.70.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56981252917 for ; Wed, 19 Mar 2025 10:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380705; cv=fail; b=oyHi1WxEUzXaVcPI6FT9V4kj+vQZqHshHt+pt8qROLyV4QQVN4F/MQh1H8NmERMmlDReHoABNtWIjQcxKEGJ26D5ETIstOUosq3HXUnWD0fmFU+wcDm0jP+fnm32koZsc7kDFlzVm1jfgR7V6R75x3RY9ZVgqK/xOc1i6w8hOwA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380705; c=relaxed/simple; bh=8MelgsIpBp6vrurh4e5j0J3wNBHadpz/kKh7HB60iO4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=E0DpKHoB+rAjjnbz8HS71Kh1AuMgvKlJGgLISXp3tM/SBNCOevUHKd4vk9OIWuxAzw+1TeE272AbIx7IhCzzUlJ398lJVgtHEOBzufPjlhNYmNUW7Rk6h6Pkc8HzXOMJPvmnTm+TpHtaACYeKEGilTVqmZg65Ld7GpLezIGzGyk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de; spf=pass smtp.mailfrom=arri.de; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b=Y0k6YGJB; arc=fail smtp.client-ip=52.101.70.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arri.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b="Y0k6YGJB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ieMcmjKiN1aWeES7Jk11ToVuDhLrrQG0x2LbYSArks7Grda1KsjALpi3o0Hv6T6q2LW7ioogTZKzGPYFG41XIdMHOjeBy5OragWrsIHRFqENXuRzNl3vVm91TS1RZ/gtY6UTWZc3f1QK33zG/nmJ+mSCS0f38eB62jpB3htU9eG2St18UZCeG8OpYnXRZX1sR4zf+9sdYz05QPWLpLniSUN5MYwc/QrkN5Q3cQ9p+pf9ZAYpiiacN7eRQ2oCV9B6JlRM/02wyf2Prn61J9rf0ize6LwIHx7HJumS35qE/q5aUtolOlMKy2uulSt8MdX5FbDQWoghAEi6ItMNJCTMPg== 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=CJj+ASvSVcu38ttaF0tMW3O6dU5kISX65qo6MO8l1Es=; b=ddLvWN7cZ4H1RcYTwTsThFErr/YPF3UC0Ws79E7/k9n5+9ktQO3o93JTMsenEZwltuVuJEdJoLUGhvxPq/IiTfNhb/coi71nQyAdISOfm3XNTXOasPNu8rvi071qeOSDEeiCOM85daOtbEIuxTf5xglu8EpDrCSKGtCKEz5BkVOWg48Mv8gBEmbcnRVTn9ppv9TNb5mJiCWaYNN5zc7KhuhrLV2FmooXJzYN0tn/tUblU6v5SQ0iVd4Rmo6/IftQgSGXOSFMR9j6GsIoIwpsK/AxvL1lxFE5Q3Je8iFKhXVzwO+Te33jWulxvLsQJOiGp4vI0stjZVP9bA/KAnYa8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arri.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CJj+ASvSVcu38ttaF0tMW3O6dU5kISX65qo6MO8l1Es=; b=Y0k6YGJBLULb5d+rjxK0EIzBf5soWzsBQKolnLUDyXsejCCg7lZtGpmukFHus1VFHF9DewIOMndDQo//f7YwchkTOdBM+Lo/teJ08rthVTPF8eHOdRIuqdd/K2u4uoLTfiK5G5f7hdtWp/6qSBwuDp6ccH3zN+dvFjnT3YgZTgQ= Received: from CWLP123CA0083.GBRP123.PROD.OUTLOOK.COM (2603:10a6:401:5b::23) by AS8PR03MB7399.eurprd03.prod.outlook.com (2603:10a6:20b:2e2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.34; Wed, 19 Mar 2025 10:38:18 +0000 Received: from AMS0EPF00000192.eurprd05.prod.outlook.com (2603:10a6:401:5b:cafe::6a) by CWLP123CA0083.outlook.office365.com (2603:10a6:401:5b::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.34 via Frontend Transport; Wed, 19 Mar 2025 10:38:17 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by AMS0EPF00000192.mail.protection.outlook.com (10.167.16.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.20 via Frontend Transport; Wed, 19 Mar 2025 10:38:17 +0000 Received: from N9W6SW14.arri.de (10.30.5.20) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.38; Wed, 19 Mar 2025 11:38:16 +0100 From: Christian Eggers To: CC: Christian Eggers Subject: [PATCH BlueZ 4/5] client/player: fix printf format mismatch Date: Wed, 19 Mar 2025 11:37:23 +0100 Message-ID: <20250319103724.10433-4-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250319103724.10433-1-ceggers@arri.de> References: <20250319103724.10433-1-ceggers@arri.de> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF00000192:EE_|AS8PR03MB7399:EE_ X-MS-Office365-Filtering-Correlation-Id: abde979d-ae85-4b16-63ac-08dd66d2290a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|36860700013; X-Microsoft-Antispam-Message-Info: OrY8y+zK+Wdq7qS4oEKrDQiZ/bh83PqmCVekoSRu99yyMekbOhNK4IZQeVg5DTyySBDMZft9c9OQyETWZSTnDp9tYE37CXN3xy1djCEFwQyEH0haK6y90WP0xvKxl50G6S8sxMVLxWVwksXrs6B5LDOdbBI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4Gi22Nktvix4maXicKo+URv3qncTStTVomXpf7uHI2dbjN15wUDBV1uwIL6DZFdk4L5kSv1/0t/FsZW8VDjEp3zgVuO67eKaJYHZ9UcymyJLO+ciP6uirBbEFOnoltlDgxrPXA+gg7nXm1pcd+5fnxk4diFLAdVJg1oOjfNnQevv3g4I9qvyfmWPz+Gbm1qfJNL4S4HwfA+JbgInjBmnFNd+qzF2lOMIIQrtYFndbMw8HhlWMnLqN1qkMUa9bKAB5t134D8vSGGIqV5yQ3NGd3pQTPY= X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2025 10:38:17.3877 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: abde979d-ae85-4b16-63ac-08dd66d2290a X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000192.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB7399 %zd is meant for 'size_t' rather than 'off_t'. As there is no printf length modifier for 'off_t', cast to a standard type which should be large enough for on all platforms. --- client/player.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/player.c b/client/player.c index 76fee0a0597d..acb709924d96 100644 --- a/client/player.c +++ b/client/player.c @@ -5551,10 +5551,11 @@ static int transport_send_seq(struct transport *transport, int fd, uint32_t num) offset = lseek(fd, 0, SEEK_CUR); - bt_shell_echo("[seq %d %d.%03ds] send: %zd/%zd bytes", + bt_shell_echo("[seq %d %d.%03ds] send: %lld/%lld bytes", transport->seq, secs, (nsecs + 500000) / 1000000, - offset, transport->stat.st_size); + (long long int)offset, + (long long int)transport->stat.st_size); } free(buf); From patchwork Wed Mar 19 10:37:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 14022422 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011063.outbound.protection.outlook.com [52.101.70.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7509A252912 for ; Wed, 19 Mar 2025 10:38:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380712; cv=fail; b=BkJJPnYrPt243sVf1zlbreDpMgZcdPljIpYD67GYeKWqoNNBOr1nb7ZNmzne2pdgOPEJzowFpDJhg8o841crob8k2lc1WNycterU03h87QCSuMv1u4GrWDYOXcrXvgednWgBXpxICk8FgVfDdZGjCa5IWSuFrRgB9+3fn7Huxg4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742380712; c=relaxed/simple; bh=/FYWtueBur7TBQtEwvP2ONG0/3LY5wONG3uhzJRa5Ys=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IyvpIe7+ZNAP3bo5arZ0P5htW8G9VyVSC//Rc+54O1hGbiPEvLhwp9BxVVb4Sb+BnCwr0LqJZH3dVDSFa5xGT30OH3s7x6IDqEbG9BjU4j9vJBoCCsQ6ppl/GVZSgn1TKUxcEZg2s14abMDF6br1y3OMTEebbNAxVHiVRXiysqs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de; spf=pass smtp.mailfrom=arri.de; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b=fwGi6eQK; arc=fail smtp.client-ip=52.101.70.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arri.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arri.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arri.de header.i=@arri.de header.b="fwGi6eQK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=N0pMlkjyV15JJYEr09Uzi66auVqjrda1m7E60jkaTxHfjinPGh//1l6YRe14Ug9vZqlhewRDqChmI8dPFFkAZwqwuM3spkRvuD11FJ3G07RAvhVCAOiZ35CFUMljAKWGrZQVqJOsbeR4UoC1Ru4WqVAHiKG3ut2koNFstn4ajDsDvva+t1O9ZDAGVGfvb0fU9EuZXpmHOF9FkATCxm8ukDjS1ZlPMqiH6Qzt1l/97ppxGfjQ0oEZhtWojrTmZcQjFUINeryK7zTP+Ry5KPmiKun0QoZcSybLICEf8UHXCSsysqz3VWMHAHBswZA6IATKY0ImcGP9JCh1iT/FIUla9A== 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=aOyfQDC2SaaZBKJP1grO9/Lwo8Fyb6eTUFMKlmtD8dc=; b=WQAypOIgl6O60dG7fFLBaVyQKHWMXHURM97fhAuOZOSNnqBdhLA//TMQ15Q9tofnYMKUJBCpnFNdW3VF6qtdon6dsCbk2aiRV49MxeUKF8opC1I70TZC6nwXwSosExyNZGLuasXZa70r6yX5/rLkMOEjofaXz8bphI25iEoe4NmQpMjDccpUGiKezXCWDiVfi7zAXRDuJTqRoy6BjfJ7JAhNuczUmEyDON/uabTodGlxqmRHxyGPsivHEH+ihAOXaQIWlxkgrQE8LwbEKm6gikhFPUnHUH4+pF4ZFG7krcTRAGMIu8aVl/CpxbaQnp3VlEkJRW+DuvD9dEu/T6P0Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arri.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aOyfQDC2SaaZBKJP1grO9/Lwo8Fyb6eTUFMKlmtD8dc=; b=fwGi6eQK3ViWOWUZopUTqPQzdb/jn+P5hELNUTd2feS+UeN08evCD00tpDdwCCgjxKXTijS78sbHSOh3f7MAACUQlohFxY1Y9g6HXOj8dWIlpLzTYMqOU+8RsuNAEqnmzoGylOH9LlnvTuzWx+lEZe/BMgot+yngg0HSqk38J7Q= Received: from AM9P250CA0021.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:21c::26) by DU0PR03MB8140.eurprd03.prod.outlook.com (2603:10a6:10:353::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Wed, 19 Mar 2025 10:38:22 +0000 Received: from AMS0EPF00000190.eurprd05.prod.outlook.com (2603:10a6:20b:21c:cafe::23) by AM9P250CA0021.outlook.office365.com (2603:10a6:20b:21c::26) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.34 via Frontend Transport; Wed, 19 Mar 2025 10:38:21 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by AMS0EPF00000190.mail.protection.outlook.com (10.167.16.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.20 via Frontend Transport; Wed, 19 Mar 2025 10:38:21 +0000 Received: from N9W6SW14.arri.de (10.30.5.20) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.38; Wed, 19 Mar 2025 11:38:21 +0100 From: Christian Eggers To: CC: Christian Eggers Subject: [PATCH BlueZ 5/5] shared/bap: fix printf format mismatch Date: Wed, 19 Mar 2025 11:37:24 +0100 Message-ID: <20250319103724.10433-5-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250319103724.10433-1-ceggers@arri.de> References: <20250319103724.10433-1-ceggers@arri.de> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF00000190:EE_|DU0PR03MB8140:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ec7ec08-0be0-4424-2ed3-08dd66d22ba6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|36860700013|1800799024|13003099007; X-Microsoft-Antispam-Message-Info: kpnD2a7t9+tsaaLLYznPOPDMPd24D7B07iR5cax6RAus9LTFYKvmVd8ZInOOM6cpQBmt+YjlhmHy5ElJBzeU2Y1GlJFsstnaNw/maFxxlJ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elk7WHeCCaN9TeMlQW1QGFaqaH5Sfd+Z902F+h69irZEoMAxpaQFLxTMSDcu4OTRR7u5wWNq6WIiaNiINB2FOwfzjgvP2//BZqdSp2nJ3NTASJ+aljirQtng+04U2h6ZMbcxhci5/Tqpa5L9HexdmZFai9w5bIGO7r3Mzy1sIKQBtYHUq9BjUaWhpqCJnrWv/E6ui383ukB09J9RjcSPUEGf67443zg4GnCD2axkBICZgNKTiReE/oQeMwyezLdRbx4x3I= X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(376014)(36860700013)(1800799024)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2025 10:38:21.7486 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4ec7ec08-0be0-4424-2ed3-08dd66d22ba6 X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000190.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR03MB8140 struct iovec::iov_len is 'size_t' rather than 'long int'. https://man7.org/linux/man-pages/man3/iovec.3type.html --- src/shared/bap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/bap.c b/src/shared/bap.c index 1cf0fcfb9b79..5d4d69d2925b 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -7313,7 +7313,7 @@ bool bt_bap_parse_base(struct iovec *iov, uint8_t sgrps; bool ret = true; - util_debug(func, NULL, "BASE len: %ld", iov->iov_len); + util_debug(func, NULL, "BASE len: %zd", iov->iov_len); if (!util_iov_pull_le24(iov, &delay)) return false; @@ -7359,7 +7359,7 @@ bool bt_bap_parse_base(struct iovec *iov, l2_cc.iov_len = l2_cc_len; /* Print Codec Specific Configuration */ - util_debug(func, NULL, "CC len: %ld", l2_cc.iov_len); + util_debug(func, NULL, "CC len: %zd", l2_cc.iov_len); bt_bap_debug_config(l2_cc.iov_base, l2_cc.iov_len, func, NULL);