From patchwork Fri May 3 04:18:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13652328 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) (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 7CA6A2262B; Fri, 3 May 2024 04:18:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709931; cv=fail; b=tzHvTYGPYh1/j7uLkUdqJq4wWIJvPs0pt32mPWw9aCVI0xOQeZKC1T/+AJW4A/Sj896X70yqBlGMPWThIizl7t2P+WNY5UX+l1wlhxifiDsjeb8zljgmZ86+Uihs57JmTKtMOXnP26V1cWufDXi1gsx/5BH0ANI5RGi14pLorKU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709931; c=relaxed/simple; bh=19ETxXSuUrJd0XKU95rMF6ZUFCbLVwv0DzYZYrHG3J0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=tiWH6nfpGf2M0yFVPiqoGi18IJNvSliuoNGRTeJ4q+uZdCCVPgLflU3ymdt/xjrH/KF0iO6xb9+nQbwVaxfhxGXDuIz2Npo+PTgkyT/VfTVW6EjtDkW/Tm/IWgc6WnC64QXmgSJgNY2ttpkFDIRPDGmvRVLSPBiC3OG5IQ0gJS4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=RdOl36pX; arc=fail smtp.client-ip=40.107.244.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="RdOl36pX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dj2WehV9WdpkMe+ZvTsVQRwWTxAN4BNRbuusWf2mId+wI1lX5OrpdlzOHYOnjwUAqqKV/dO66CorNqnojGMHvhrHKgC9tN5eNebXqDG6ih9YWQb82T5o4xsFh+h0OygLC31F8rumENFWq16icls2rLy8KYVykQ+34am/lcQIPf9oPa07tT0eRpUfyWYR09UNDWaRCqdkiYywMuN2fWNefDWBbuwfsxeDgtkIWqMOK0gTULPDRxka5RAz7d7d8qwF96I65cu/ZRERl47SNvEly5LqDGaZKVrjf+oo3br3ai0SU4At5wbcysl878qFj7K83BoYmnSWVuh4DJcTeOs19w== 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=TdNJkkDWmSF/9/4Bo7TWqqP9eFjEwSxE1VSUw0HhnUs=; b=Y056GfWeMwGMcCGrgqOj5z7yU3wZ3oSBdZ/wsElp59O0Z42otCVbeEVjc6VQ169X3A1y+MBnc4lxeP4+kYHnmE6UwFcskXvOfXz7J2/qNDvZpx+s7QPadHBW+zKu6jkbtX+4OflEYhaNopGeVVl3EshFbODlGafoXPE4TxJ+Ht0qboRvPAipIwF5CwF8QdTD1Ug5fMArhqBDhcNx3XN1OVWMNJlprkLbt+fV2Xn4tgR96dokWjgCBJtvOR9PLBiFxD7vGExKilL0at6AGMeDY42VRyvGHgSSuHcPICib6gMlT11MwppVBsceIjcPcm19iE/n2sCz2EFOlu/oDjo30Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TdNJkkDWmSF/9/4Bo7TWqqP9eFjEwSxE1VSUw0HhnUs=; b=RdOl36pXUOgs7CAvnKNsVebEzUGDUn04v70o1xuyRR3YijhDwe37bG38cjBLe8thQyvCqxRUtuPOdCtqc3SCR9wNUgaSymjMroI1y+aflAg1lpq1NZPVqp1L2/uIgLleH7J8NSM786mhcNqujNaG8lGlDze5eYx9u2hzz61gEO0wzmPVweFeuQJIZFOUfM4iZIWVTN7q0tj1FJpXFQMoYkANMw2GUitwC7MXeqBLfHn88QG+vKOJfq2Ghk4oqh/6dQ/2eRDgxafu6FT42L+AzE9WaTUsJbEryECJz1NCjK8KZF7xBr9ffgRApyCUUUn0E7xJHPwJ60t8jB3PX3ruMQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by PH8PR12MB7445.namprd12.prod.outlook.com (2603:10b6:510:217::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.29; Fri, 3 May 2024 04:18:46 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07%4]) with mapi id 15.20.7519.035; Fri, 3 May 2024 04:18:46 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?utf-8?q?Andr=C3=A9_Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, John Hubbard Subject: [PATCH 1/3] selftests/futex: don't redefine .PHONY targets (all, clean) Date: Thu, 2 May 2024 21:18:41 -0700 Message-ID: <20240503041843.99136-2-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240503041843.99136-1-jhubbard@nvidia.com> References: <20240503041843.99136-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: BYAPR07CA0104.namprd07.prod.outlook.com (2603:10b6:a03:12b::45) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|PH8PR12MB7445:EE_ X-MS-Office365-Filtering-Correlation-Id: cb7d5046-e971-468d-ea0c-08dc6b28205e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007|7416005; X-Microsoft-Antispam-Message-Info: JFTT8+gZuD9D8hyiiY3nLAapRCINV7iiiHWw7ULPepQtfygaouW1VlhXnO8YDouzwixBGH3OVsxFNvxnllsd52hmALwRI0s0wYWbi7HsSk5ZUaKQG+BIs01e/5rO7jAUn6Rvko4s8HU7q64dQE507HpWuGwq5/urtRG2FtyXJ+Ao/cFlQUQT7cEhyWV5gCbw5dNanARjd4mgipDKzZrDyG7B2rr7kQMjIf1Hu3Hue5DQFwCTpEUO6ne89URgmkxN/wiLnz0BeQlYcTbhIJWXxLb98GwQZceJH0IaN1E3pj4J+46e9cXGNOm1bM8dUXzBqRLCHVB9MgNf7a96VvnDwQ3D7yOf/Ir4sXTV8kK1acpP2P28zAr0rShInGvssJXUuJUrHKTcBCLAFDdO6vWPkfucufS9AX0PWh1TEpvJOArYOAWqlVHs8Rv6tBCK8JqgmByhlSqvNWPkyW/+Pq4t3BItwSh8pH0vRDbZe0zhGa0PF2Zt55PCsGw5jx66JY7iD4TsC4kQGgW98+u6PZrjD4RxdE6rU+h5y5vJYeYQkqswe935MoMNbe2Sm18ABz64zT0tLI/pw4vj3EbKgNLA8BAbeA6iczwMmPCuiwsTAlivnuuEajwBc/+E0WooLidSsr3Hg3d4w7DZBWKpzLBMzoAnq4SQIRruF3eYs7nvyrIbnJlcQG5MwXWevcVWjiI/xfJP8ATBS+XPWqGcj16qgCb51YVsOqGQ0OVJPbS9OmdJyPiyvQyEaMfJ6+YIW96Y2PbYPUGul3QD4QlRqgb2tl0dDD5SW6m6qsQoOVfe0tYxZNIBqW2U0kWu3p7eoz75bYC9zk+O2WzxMbqe073JssXZim2S7tK8DnKHH6Z2c9nA8zGWqEwjaCQcPGb5qZaqRdysjEi2xX19Q1bZcORhmCRG9JdRRZSvGSpy/i08RHVUh9GaFK6bQTRt6dUxaoO/00u2VMZP26MABrKzZ3wAC97ZjXMehaZup+CUkB8wA0EqRimx8wxnYMoyAnryZi7z6riXYMbEYy8AT7ysRobDdSn10OCEBk6eN7AR1W2tRbMhEzcgevbBB0B5YWcbO9msV+skHY6cctMjYWpym+2p1woqtEiv4OHjs7pm5SFjCZwAoKf9HPddZwvdfkIPhBFsJZQmUnKIdYgRiWtQcu88zVXTy/74R8KpGlERnkDq/773NqK2VBqTLGRiZm5SCzU0RxSV0NKJVHYAOzqJRIP7G39byJnhEd+hzfSmX0yyj0Oc68/MvRMYKVydMMLUprMQ+pqRUxj8gdSH7UEsRvKi2g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(7416005);DIR:OUT;SFP:1101; X-MS-Ex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y8r7DrhkLeVlzs1QVNlWZ5Qf6H3Jzg+sRw/9DUVEqyIpypTtg9kvJMwQ33IJmLQLdj3lIN1d2m8DwA3gBcb0u5p2Qd6kGC+ahwFMA2cxaxVmGv0nR6ISg8CL+eMKPhouRMMbD9xxGb4/V7YXNehdIcDgp86X3Poy5vFVThn0O66JlD2A2yU8ZrRAs/Da9dje1OvwEBSgC3a3GjpDdTzot6Dx/6Bex3yvKmtZA0l1bcwrK1Be/Tc3M4WN+TP/uatsrAeZRzuZoYNy3AVh2ug5dEEIV/l9rBst0cqP3qYgoKr5YQaGJLVtcRdrjf73VOdiJ4QmB8TKkcmKMHT2lnuvVkqslco3iIFHU3zYwkf1ooJ6H45mmVwa32x8rWKPim4Jf7m7vVJI2/q+i0CWVHjLC/vfayUHqPFHS9h/5Rm/8S2pujjLR0NAlzyGHX9f1SAHUobESgSlc14/2b5Gj0sGOfTGsQzrVzeBhYDCwAAYzr3oEG2hF7TVIygIO1GdVEEVI970w9yQsippGeCMbvVusQ9phaADg/gNa7cnKvB+08Dy+nMHZ8V4slcDRO5 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb7d5046-e971-468d-ea0c-08dc6b28205e X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2024 04:18:46.6687 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5iUvNwIh95vmgXRx443aoNIn36vB/KTOYasMjV9MIwpaxvglVrnG3EBqVjgRppwbDWcjbKu7vNcxQIBLxdGp3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7445 The .PHONY targets "all" and "clean" are both defined in the file that is included in the very next line: ../lib.mk. Signed-off-by: John Hubbard --- tools/testing/selftests/futex/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile index 11e157d7533b..78ab2cd111f6 100644 --- a/tools/testing/selftests/futex/Makefile +++ b/tools/testing/selftests/futex/Makefile @@ -3,8 +3,6 @@ SUBDIRS := functional TEST_PROGS := run.sh -.PHONY: all clean - include ../lib.mk all: From patchwork Fri May 3 04:18:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13652329 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) (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 ED94A282EE; Fri, 3 May 2024 04:18:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709933; cv=fail; b=c+HJG+blCQAdtRV4E7salEdXTVWdmuhRH1YYnoWduzmyT31nbr5iUUu+m5q4aF0KgEf/j95GAHEOBoTJFi1m9WoqZqKGeRXQN097AXkyTIaqwDvlDrrI/25ozy9uTpV50LmrEvjr+KqzzCkHkxwoYxg/pcz1b3KNNltQNP2ceSI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709933; c=relaxed/simple; bh=SFnXEf/kT0ezFP8CBnns/mhb97f77hv1Zwt/gJlYmIM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=YrkO0YI83YvQ+cBFA6244tasbSsFEnBO5PjSZrrKwwOJ7tsjJJ6TIBFl+txHWN9hKcP5uFdd3TcRg3ySDZQ0LibtXV46ahMxruh8cks9nL8ZDtYdlYteOs5o4o7d3go5gzapIjskcXlrm2HcRtX9Nx29hlmoRoa4sXTQHJSxlEM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=oh1wJjgy; arc=fail smtp.client-ip=40.107.244.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="oh1wJjgy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHdMuzZhfXr0qZ8Act1HI/+y6hIxHfUEjVNGZIUWPu/L1Wty6Vm+KuAgnjPkYFlbwQny46X8yP9oXQAT/KwvnCfJsj+tP2cPb4KQdrjhCw1Q4WsuAw3O3m1uGVTvfwcuS9WqIL5wXPQRRq7fxxfUTOqHt5J3YWwe/gnn1TrzzckCK39J0q7BUQZ5AtV0Bo0lyqm1DUZD0YgHouOxk2z63h5tmImwFSsBcPxqyzc//yVJk007f6bIEmNLpbCYXHBVhgpmov5hqGNc4Qb50uk83iVb0gpj1QNxL1e3tek0B+dn+Ej796uNq/vwuciEHMLvlvJhi+UM6f2n3BmDjIB6lA== 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=P/hQPgmK9VJIMZ5PuBMqilFqbLQj/X6et9m7OoOe+Jk=; b=g/MAgecIFF/cx34PuMCK8M046qgXMBLwxSi633gkAIjSrZZs7GRf+E4wZCkVoYz9Bjk6PA/yl5uRyZytxBpmT4IECilXeDUtFfvK5lj42YVoXrEHDY3HslWAVUBRPxMWt1M0nT4Za+uRZ4XUHGjyBPGqETnyxJ2F7KwN7R8EwcgaQg+q63WeEjI5/QOeWw9P4lW1g8ctOnuXLNjcYl7Obi8rp38ioNg+BzPd0q9USH+x6AbX2BrNhgaAX0pltkgaM73rZBFdCQpjeZnqGsvqn0SK8qsvms04hQzj6J24U/rTw5PDVIUOzQVqY/xy7FhpeeE1IAmg3G7GWubd8XNu1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P/hQPgmK9VJIMZ5PuBMqilFqbLQj/X6et9m7OoOe+Jk=; b=oh1wJjgynTRxAjBbE40hHVTUtKT8kL7HyaIi7wVb+M58bXw33wsumpto8jlOKAGEMsP6oS/dG01ctIiD5GPjJJuDxbEvhZZ3Fqeu3RbVeGfDlI8HkSt96QhiuPpPX7DDDCmXbfDWWWy1SnjzAWmkpYgpHUq86J54s3IFIbPTSzQNsfn/faB9LHOFoebSe9NTp5r8bt+K3ZxRIsMHZVx/zoeRIEHFLU9zlHGL83xdnCm855FpssZseKhTnRdwBy7/DKzQ6oSMrmHGcAnJ0JjcrFDk7rYIVY+MPUsUUy1J8Fjqx/OtE7KfdVVVLlDVHn+PR5Qus6JKeXHAWzJauzqWPQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by PH8PR12MB7445.namprd12.prod.outlook.com (2603:10b6:510:217::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.29; Fri, 3 May 2024 04:18:47 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07%4]) with mapi id 15.20.7519.035; Fri, 3 May 2024 04:18:47 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?utf-8?q?Andr=C3=A9_Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, John Hubbard Subject: [PATCH 2/3] selftests/futex: don't pass a const char* to asprintf(3) Date: Thu, 2 May 2024 21:18:42 -0700 Message-ID: <20240503041843.99136-3-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240503041843.99136-1-jhubbard@nvidia.com> References: <20240503041843.99136-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: BYAPR06CA0041.namprd06.prod.outlook.com (2603:10b6:a03:14b::18) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|PH8PR12MB7445:EE_ X-MS-Office365-Filtering-Correlation-Id: 94cf81e7-3f88-4dd4-1bcf-08dc6b282116 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007|7416005; X-Microsoft-Antispam-Message-Info: Qov4GhsIc8Xm1KlqC/2WdQfKu2kuCq+RGAQ3tWcxBHdLXCsAKybGYZ7jP4haTd6Ze/qHVXAAZyhV8KEbz1sXOqSVdrmoUubOx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R2GUj+GHAmTK7WRwfU+neKDRWpuAruV5dr96Bgsux0YralWpFDH6HpYvuhgpbR4ICzjweSspZxA9WW3EmuBbwuebrNsBT7ydH9VnRGgwJyUDl2WbMRH0s6gLfxA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +s6UcGISukTdHvH+62hKsNNgS3iHk1C3t3urAATTK6dlyi+1knkyA98IMJ8Ay+uhLkZ5yrXD+lHRexCYIoHzlTo9fE0HoYpKtVPCN/bwbenoZ0KAEAMdIZpHOfHJHfrSNi4+uRxAeXdP4DNLQn54fBB8qt9qOfPnsRt3n6+U4iYPsayYoG5UUa/L65rdMVCrYs4KJG0kfy3hirP2Cj2D7gsC/PB8yYArh1UR6OVWFmg+9Sq5W6PnseNOs8RXboD7EWDAFQBU/uCXpAGYMpCEVJ1iXUQlhPLd6r2nRHNOdPYBJUjXYGYsXJA7L+Man5o8T098GJONM6Jc5s12vPx9gjB4o6r0jgQj0xqrMC2vijRPviDbfKbtjhC+Vo8u99OyXKUqux4YzFqebypCIpiNPocHiDkVAPeY47qHY4H62brySWCgtofjPlBisdUemrWwtOm1vKGo+f1/g8dfiP7Mx2BG4uvSRRDozGd2XLauA2ualwz2JenqQMj4lfEgZXQCPfVr0yBhSX3kk6riVjnN82h2ehAjkVgM5l78dbNR+qViiBstcG745TQkr4CkZtc9WJmPeu58P5i6hQAMIrq6EksUIKAi5aeyVlaDKxIboUXAQpYvLA0IXmKZ9QGiT2Ho9yzpejoLN2KpzzJ/86Uxu4kbnL1HcPGQ4mrbx31+AKc9tLm3lzcT+E8b40bQRUi3YGU5+4uWUGhux/xMhbQP+F9DpUZo1VQwfWNo9zk+rm1w0LiHEWIuclsGUrHDHenMo7WoEZaimDnSGB0hxsIO6KuAbVuqu8wujxErsx1tIbTMpKAcg28OlPWdmeBt7tzxEeWpSNWHhPgAxyo/5nrbcNeOUpOqDiUx7iyN7cPYt3UhWE07XWP+k+ygDjFdh2zgCqaRA2jb19CLozUQ1d8Dh/mQD0eRdVvlAnj5d9MM4NEU086zaaG2jhj7G/zQ3jF4Pb4lTX76bJFCMWzz7yxqxyGNUpqI8W921dl/X3mBJ10VZUnA3nbnIv3FDo/wxP7BaprG28sDAca28vO8vmjd29vvr6RoeZ4efFtk73DR7aaKSeJxYs+Cl0BxWd76RbYyTKAPmptZthZDdEQyD66aBNSVKOM3zAfUBB5cm+PD0JdTyrbHj2FLw0yuNJ6KxleUqPRuZGPn61TU5xGDFyI4O8Wuysl3yORsSSGIJHOld5CN9qGS8rVX49SrFqGPLfoVWqD65ss9MDW4cr/6DsKZ6xLkB3Y1hSGYMvvGX40zmJHQZc963iNUKqk3Q2uOzmCqraWR+eCxi+BJqeRhpMvSVOsgdkZ/Eiy0rhRY1ZPXj/VqGtSg2GA2TqtO9BtUYNl4PjwPeR3sCJn+CwtGECHG+YOMaKakAKOGv5cd15HrYQ/7d+vPxPmn/unD/ie+6B/Iq5bHOvaoumYDA8pamwkoqFMg4qcHbVlHZ/FwjVTrj8ZPeYm3gRUmN1eFPf0qNIs9U/jwe7x4WUzMgc0jmbU07fMSQaoNpvBfG8KCmqTvR7E9khs4qmvvrPeh481Yi4E0V1NkyNUtiVl0fp5QDLq2PHTStBnjYQpYlaozkKoYnP9i1m9nVRtu6gBrj90z/lUo X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94cf81e7-3f88-4dd4-1bcf-08dc6b282116 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2024 04:18:47.8692 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: g54V3dTxM+AGdFKj2ILD2yTJe5M/Zx/AiC8x7OmikI/lccNt0HnN8Q/lXravhs9maoQbRXfk4seUeqLNFjHiDw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7445 First of all, in order to build with clang at all, one must first apply Valentin Obst's build fix for LLVM [1]. Once that is done, then when building with clang, via: make LLVM=1 -C tools/testing/selftests ...clang issues a warning, because test_name is passed into asprintf(3), which then changes it. Fix this by simply removing the const qualifier. This is a local automatic variable in a very short function, so there is not much need to use the compiler to enforce const-ness at this scope. [1] https://lore.kernel.org/all/20240329-selftests-libmk-llvm-rfc-v1-1-2f9ed7d1c49f@valentinobst.de/ Fixes: f17d8a87ecb5 ("selftests: fuxex: Report a unique test name per run of futex_requeue_pi") Signed-off-by: John Hubbard --- tools/testing/selftests/futex/functional/futex_requeue_pi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/futex/functional/futex_requeue_pi.c b/tools/testing/selftests/futex/functional/futex_requeue_pi.c index 7f3ca5c78df1..215c6cb539b4 100644 --- a/tools/testing/selftests/futex/functional/futex_requeue_pi.c +++ b/tools/testing/selftests/futex/functional/futex_requeue_pi.c @@ -360,7 +360,7 @@ int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) int main(int argc, char *argv[]) { - const char *test_name; + char *test_name; int c, ret; while ((c = getopt(argc, argv, "bchlot:v:")) != -1) { From patchwork Fri May 3 04:18:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13652330 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) (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 A10E02E827; Fri, 3 May 2024 04:18:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709935; cv=fail; b=DAo54sr4K/E2BhYgGBcrxtpJeKsj6+2hvUAIMFS8nBg58rObj0HKN48LBAsz73nobWc82XDK0tOpxakjhMUWaVx5WXzKAwybWAL/rkE9/UVBVNNA6A2SzQTTSGJymN97YNEJwn4kM2ZLXO0uj0XQF7RdP/8NRzQWoroD5i2PD4E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709935; c=relaxed/simple; bh=CmbSrZ28SsnUkmIsNzHPPipai7Ixu0t+gZuIWV28b+c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=IooK1eawViSY+9KfbTqbyU4l01zUBynADPzbWYVXnP87ca7hDJIkNNId4xNS2UznAV0R44CVdKknzgpeeRQ2Lm6xO+viNAjnrtkjKYMuFweg6hew1vL+ZKqmEIfn+RPBTPiRj2TXCJars4VkPUV6I1Xl4eQD988ZVPupnVfNUl4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=BODXZAs9; arc=fail smtp.client-ip=40.107.244.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="BODXZAs9" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/dIstoZBBKhbLaz5p+OhArKc+zNDS6zfgwkdfvtJjcHqgzMs6yc1ZWqk7ANltmRwDDBGG1COoC/9FIKELg6Qm7vKS6fIIyAZg31Ua94AEyqBkvbGz4GGIHElefKIzN2vIxvg2omXjLQDBG5nSufY1oxuC7xlW2rk8PbwMysnWfC+JjJAMdpoaIbU0waMwjcChZRLiqpC15DtOFuwV2LDI2jYFGOnbYsprnOLwka05srVzYQijCfU/hZYdp5zG42APLbDBCSQYvRKBVcfI6OvkGeCBYH36gLPQhl6HJurqzn/RyBwVatERVHhAVmPJun7RQnBtrfoKfGSU+/EaJ+eQ== 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=EaOTjLI1jNgKfQtVwtbmXuBMpmygEJj+O6pPRmqs1hE=; b=jEHx1eVXFWzlVfzqb0Vjq38uKrSQRL2z9OLW2jHj5Eek261JR/AFtMA3Pva6ca/5rioxYHdMTd92UFH7CzKNFwOThzJrStvr9dXJ80vvQm9V9YAgV3qmb/bomzCWq4zXhNR8yPhmxwn66GzodK1443dEgTsLFAp786C5qrqCFq7dcak2ZZP7h28G+OLL0DUPU9Pg3n/sd64U5yNN+UH5CB9Aj8rg9ePI9IsTODPnlWCcnUxtI/QvFQHvzjMlloSBF2JydlwQ/juHXBSBl/xrKcsuNfC5xe1cZ/tEMvN4uuAInlUZaWIlqI/vK7WkNdYbHrexoOmCtoaySAbZOfax7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EaOTjLI1jNgKfQtVwtbmXuBMpmygEJj+O6pPRmqs1hE=; b=BODXZAs9LOW52+TFAroFwkiWdsvoKEG19LmoWZl53qWPPMB3yxrWKa0N0IlJO+kW57YCVA9ewE+PfR6N8qtgnm2iPgek8YA/XDa5XnNlRLtVjOF4Sug2gEQTVC8nPprRuSmGgliBXIa4mSLLQ79VWge28gCZcTqIaQlCBqLPCkeuqQFhd7AuhS6lPM2MxZe269Id6eos1Xki7P9ZmKyrMoMwv6tPsuY3FYQQuYZVUTLw41Hp61cds5GijzRWMEqVuo5UsM6AK8amXmim+G3BBctV4XE2rY/3OETNp8CH15uExgSQXdBdHDNuDwongFkI8Q8Uo3IwbAuN0L9CQro33Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by PH8PR12MB7445.namprd12.prod.outlook.com (2603:10b6:510:217::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.29; Fri, 3 May 2024 04:18:48 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07%4]) with mapi id 15.20.7519.035; Fri, 3 May 2024 04:18:48 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?utf-8?q?Andr=C3=A9_Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, John Hubbard Subject: [PATCH 3/3] selftests/futex: pass _GNU_SOURCE without a value to the compiler Date: Thu, 2 May 2024 21:18:43 -0700 Message-ID: <20240503041843.99136-4-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240503041843.99136-1-jhubbard@nvidia.com> References: <20240503041843.99136-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: BYAPR07CA0078.namprd07.prod.outlook.com (2603:10b6:a03:12b::19) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|PH8PR12MB7445:EE_ X-MS-Office365-Filtering-Correlation-Id: 5facd09e-63a8-463f-2ac2-08dc6b282165 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007|7416005; X-Microsoft-Antispam-Message-Info: FQSwzkqnS4e9EzYfiCiu7coi+4wmfkkqt3zTmPvB7+wTtuTEhS+Nliv0xQscEJq0E2rtYty2BvmUIDLL7BOWvgOume6w609nFOR6In8gsv7wIC7D25qhJ3fGS5OrwgnXoiQnE8bkXYC7qw/IzVDeaSqLhKwiqPBmQppX29e18Vr6xinS07c5N5/jOyXjMeci4+0DN2LL0MpgD3+t5j6j5Shmh+sZzASDCumMhNxzM/KQEDL4/NbOmQHn2bAcd0jgn00QTxJAgB40BWVb33vy930SEzRP9kKWOByQUvRQIK7KJj0cHPGiqc4GsKrcGOnhaaYdxLHTvnD7XX1ZwZCBqpvr834MaB7usy0DkgGftImMqd0orD4+wYBnBQWAxC5wrlb/9lEmGpuXRHlnXrJ43arU6vZDi3k4MR8KTmlUznQ/+pnwerq2KFzeh9zs8kcqVpUw9VrOaCFEl95EAKcWZ/9Gq6qzKUP0cbuMKxhXckvHnU8DoZ+vZF69EWfEDG3vwyRrgj7FTF7HYGQRxHj1wvCJ2b8K6SHb9IrnQNpdsz0idiEyA6CynkcCtf9Cu5OKJR2ou9Xeht11rv70KDJpaoS7JNtTaayJ/gGK/KlgpSQGB19Vd1JhdZH45V8D8ix2npnOsv3ILX4kuVQWN6Koa45nDkOSwQKQD7kEp85EgBh5LCYMU2wQwHE+0+bH625vWsf/Wu+QnSgTAJ4WvGDHysvkuBAKJc5KyuixU4uDK/3VVnm89axXbD5/tWB4fdb8NLu3Le8jpZn2ALGCMVC5fXk5wKJgrn7ow0o/eoVikKSr7WBmnCQYHBhHafAQRDZzOsXDAOVYADzV5kPj0N1zIqn2iav2N0sOvHmSonbCp4L232+ebPhaOGE0/mY9vuz6EgC+5nQAMDVIYmx0Sx2n2kCLj6YpPGSsl1//q9NEcxoZLqJCHw6ORTSl/+n/2I223CA83mCOMwNasneS7IKC0Tm6s6pFfT82fVWO829Chzger7kU5B9hNKBrEp8VzIsBr09rNw77xtjiurIddbZFvfW4Vfs+tM7or6RJND/yiEEER0pftOy5sFWl+IKJxb3kJIfesn7bkBeL6/tq6t3vsj6PaPz5eCUJnK4P0ov2wpYSdAKQmwzdb1I+uZfAMM2bVVc5r4puTIfTElTVWReuvJHTX/gtrlFg3rAIe2oHojHsrKeoHloNtCj8cPhnfP1vQ/FDwKsXEXuUVrY+mZpfSw33P+CyQ1qSvOEe9jq2+casVe58x1NOvl48vwGjl057nPVxw8xLuKx3GDChT9slKA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L56CKwNkQfocUrymVLFMAKPBFHBVY8WAURciW37cLVMZxMarkyeprjXS12kBUzwOxlzxkukpmQNYsCeMJgm9J+rzQkXa5muMTZvNlK53ACvW/x3tpU/f+9xVcnUHklYaRCCP6eALe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iqBBt+9eSluei/qMCZvXakbaRjDUvc74POorsIN2Ayj9rbm/N8AZvXXM9r5oJaod9pdJW5wnQ1OiyxSC/VJLfRj7oBQ40pRLBRbmtJ9R2P62pGYWQYItlzvYzhRdChNk8BnUkDSi1Cjrci2as/ZSz7b6YiHNx7jg54nabLFI/r9uzoumpgLSWVu1owmBEQ1MKAJn0SRwBjsnD+5nV5E0bIoguug0Dlcq6nWMvU8YneuxAsEO1U249Q1cOo7QyOqdaSBstLuktY4fWi9L/zxU5ocWmtxMgrOxI20DNNMIXRMM5oQmyAKJ8GiFQ3cUfm2gt6oFOP7wkbQO91eqKkDkEHqTihlwtZ6pkNLS0ILLA5BIcp/zXKXdVucaFUkl/iwyEgfkZ X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5facd09e-63a8-463f-2ac2-08dc6b282165 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2024 04:18:48.3900 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6BHXq2/P9k1GM5A0HDeuprddrAFQcn+5GcE8r8otcSjzKpZ17Vo91oJkLf48VtHhd9Lx7h8drelzsWkbPGoihw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7445 It's slightly better to set _GNU_SOURCE in the source code, but if one must do it via the compiler invocation, then the best way to do so is this: $(CC) -D_GNU_SOURCE= ...because otherwise, if this form is used: $(CC) -D_GNU_SOURCE ...then that leads the compiler to set a value, as if you had passed in: $(CC) -D_GNU_SOURCE=1 That, in turn, leads to warnings under both gcc and clang, like this: futex_requeue_pi.c:20: warning: "_GNU_SOURCE" redefined Fix this by using the "-D_GNU_SOURCE=" form. Signed-off-by: John Hubbard Reviewed-by: Edward Liaw --- tools/testing/selftests/futex/functional/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile index a392d0917b4e..994fa3468f17 100644 --- a/tools/testing/selftests/futex/functional/Makefile +++ b/tools/testing/selftests/futex/functional/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 INCLUDES := -I../include -I../../ $(KHDR_INCLUDES) -CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) $(KHDR_INCLUDES) +CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE= -pthread $(INCLUDES) $(KHDR_INCLUDES) LDLIBS := -lpthread -lrt LOCAL_HDRS := \