Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1558843lqm; Thu, 2 May 2024 21:27:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgnakw+RI5WPwRkRMn6DJJr+45LsNexcP4NTzNJmG9Hs49kZAEyrKxkRBLsp6VGXy0tAEFSQt7v4PG5dlXZPzM/033Lqgmbdj7O6moOg== X-Google-Smtp-Source: AGHT+IFi1Io/Gat2diZcui4oOrtZ8O6vzavIC1PHw2iBZsceiI/bc/R2mDI3Gz0H97COlHJfoCOq X-Received: by 2002:a50:d4d9:0:b0:572:7015:f303 with SMTP id e25-20020a50d4d9000000b005727015f303mr744518edj.35.1714710435469; Thu, 02 May 2024 21:27:15 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w19-20020a056402071300b005720328e38bsi1161053edx.161.2024.05.02.21.27.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 21:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167226-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=KN+4OcUi; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-167226-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4F0D01F24745 for ; Fri, 3 May 2024 04:18:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82B1123775; Fri, 3 May 2024 04:18:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="KN+4OcUi" 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 F0F1E208DA; Fri, 3 May 2024 04:18:48 +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=1714709930; cv=fail; b=Mq33n5fsx+mou2d9OZZ6s591nEkGtXieHjTGiK1MksGi+KlKxox3lSihCps+hAxJl/tD0zndZy2VXU/4iIPoa8CG0RJFeBSUgnQzuTYeY6YULzFm6zp3tYQEHSumpHALKUASt5AlsUczd5FFhNlYKwADIG6f047WqIrGd49VjE4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714709930; c=relaxed/simple; bh=RAENeWBcdt8rEmDVrn0UaNvNDg5zfnnoehPjBh7BHhA=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=BCtLyhMH25E2HST2i0FDlffjvVXUapgZE/Y/Ku7EFNWywe9sYCBYRSg6z76tB/UE+i+LFAKjD6LxeGGO+VA0hORJq8fgTaCGEP1qVTTqCwBtzrZm5HtKo6RGH/pfwIpwM8sWXeXsCGT52mUAZoqhGtFNcMmmU3815msWDh8hjOA= 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=KN+4OcUi; 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sub1QBJqo1rejyIaB3xeu4ILgIbSi2vowmTWk87LJp7ZIsq5OigaCpH732I+XxE8dS/qOmJMtM/42S8N+wBVO/UdIHe0xNBoSh+kfDGQ/JrbRPt7NCvZVFJPewBCdlCLTKcn4doSC6Bg+NlVTkWIdyPxJIRqr3M/XvteH1WZngXbe7Opd/62/ay8O0AsFyEeQEQaqFdIAgfVWSQbj/Zs59YIbDGM1AdDXVkGEi+XQbKde0YRQ1efx2Ez8p+XMz7ocqo/nYqFyd3Y0pKpixg7DbNk2WIOQutZU/49c1WngEuBinmxtUCngUePjXNUSEfQyXlJp+t/hix1I+c7PcpsFw== 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=cxGMsZGa57DvPdou0U1ZH8XsrCPgVatapezgDzCztoc=; b=a5Z5x2PK1WgA7WjQ1jVYi7kix1WIRytbzz9WN4JpA3wKxHLwmMVBREzq+ODlFMFwaYR7tUzhegyAZuMf9oBDB0PcRrNZd8CPLkEEHAlFMs10o/DykpRxvENdQa0wiAREE8d13aDqskopsSCKckQCfLzur1ST08bmNZGcW+z5m1S7cT0brTD5wARj3OntzkcXm6huZCTbax690QXzz7IH8AhyeIbe7A8HwEfV3IaaZ1BQkqnKyEucNZX36nplsb0+USCu+zYzoxH89Y4k2fIZ96aevuxUUZsROAlLYiohgHt8fjsgEzKZubXh715/nXBbizEOXb7BhDNaV0X2BbNg/g== 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=cxGMsZGa57DvPdou0U1ZH8XsrCPgVatapezgDzCztoc=; b=KN+4OcUiFqGXmrYxLvaNNAVm1LppgUJu7r1jhBQbZ1zudjRRRy5f3waEXl/DAw//3h4e80Z3BTfWZJFODL3VxexsGsHTSCOjLJ1n2dft53Ja8Erh4jQUFLNcbGea8IBRkYWuYW9ELLDCcPGeRh3mRnOqI5bs9kYWDMFhmvqDzcnoFuZDnWdXYT38ejviYsqhLbcuKBUHB2avaOJh25sLS6D12hUG9TPPna/xOwdW6ErIcn08v5Nk/UFrvRZCccLDWH7Vtfd9/F2bcbEPz1GV7Rn2kUn2rGBq/J4NeiuXWxDSlGDFWKU8knkI/0Qc1fmcrn35Mmh2XtryCGE3B+GSUw== 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:45 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?UTF-8?q?Andr=C3=A9=20Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, John Hubbard Subject: [PATCH 0/3] selftests/futex: clang-inspired fixes Date: Thu, 2 May 2024 21:18:40 -0700 Message-ID: <20240503041843.99136-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.0 X-NVConfidentiality: public Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR03CA0100.namprd03.prod.outlook.com (2603:10b6:a03:333::15) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) Precedence: bulk X-Mailing-List: linux-kernel@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: d27e28f7-fce7-43cf-d675-08dc6b281fde 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: =?us-ascii?Q?tZivCT63KiE1N+1jf0MK22io+UaoUQRB3l4Z5kng/B2cyS5QauCASEVaUaW5?= =?us-ascii?Q?55NUP14TG/urDGuhYQimIiLtDX0Ih+vWAff84jmD+fOiTBrqpgVQXNWz5a8L?= =?us-ascii?Q?M9JeJpZSfUNc0FUtNnYTJFICoVwpFxLTenXkjLqUd0RRbvGUBPXe0XUz3brk?= =?us-ascii?Q?hiSzsvneKv7Wwd2LaMRRKaCsZyTB5DTf85bE+XBabFfR9LjJSHnxgGtJ9FXX?= =?us-ascii?Q?T89D8OW8cMeKejBVGbgeoxbS+oLdD+XacY06wxaBkFnbXN4F9F++1R14JARr?= =?us-ascii?Q?nYHrE5qltHEwnE+QRx6MvUufCYPMP9cD1dvjTHrwqCL4Eae5p6GCsw0pYgjh?= =?us-ascii?Q?diJ44J/7WiMeBvh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Rh+zofIi9keK?= =?us-ascii?Q?UlcnltcHhKPbs0lQMbfPymnaWZT7DiiyI+S5jW9ANw=3D=3D?= 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: =?us-ascii?Q?pus3XKYzQ2fd6M/qavtWGjW8b/EMrVpKqQvSrn1cpytBa7ZVjZGLBtEAugXD?= =?us-ascii?Q?/J1Tx1RB8T+fWsh5cqesHFf2MdhXTBP8TVUbkCNFZzJDr+V+5j9xw5pf01JS?= =?us-ascii?Q?sDAYBB3WxpAT/Oa47ocSfQ4HOEwc7uhRtEoHb5wOGpnVbzZ3l4N40D9O2/R4?= =?us-ascii?Q?dtAdJexG0a85QRjbT6r38EciPos/9mmvpPdyNRqaqeQH3gqNE5cuWEl3IsIM?= =?us-ascii?Q?z6Ey34ozWbZ+CYrLuVPJ/MWBdhBWEj3fC03bqalxdO8SmoxmEvJIJnHqVrar?= =?us-ascii?Q?xr125R0WbWrjMztgPvw+X/6qdfcTRQqsIjRHshpvzfSRVxzarp15ipPlE/wK?= =?us-ascii?Q?MAmhjsRU0c6Janry1pj6xzNsX/Rf/L7aV2ATXuC4Kfv9honnvY7nd1LxgQin?= =?us-ascii?Q?5IuB0IHNV9Zgw7cmoMyBgM0NoEroEG5M44FzrsTvC14IG71kaOUxoJNJp58l?= =?us-ascii?Q?6o9JHW5oJGluF4CxwMdKURd16sb28xdSZ/m3zgqJxFT+svhjuoZYrYjr9hpW?= =?us-ascii?Q?rT6+InNyok6LlFEV5dzhId5O0aOmoh0iMx2kZRBOI1PtM+TSuhdPzoTThYpa?= =?us-ascii?Q?04PlWb5AC/c9gJTMalPyGcK8cgP0viqgxJKTmy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uBbbDZb99/O6jd6ngqDctetVR8cRTuOOZ3foHan1?= =?us-ascii?Q?Yfhk5y8gTxwABU3RVx+kpdViQrV3jwG6jcFZUnaX?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: d27e28f7-fce7-43cf-d675-08dc6b281fde 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:45.8317 (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: 58ZO1gXTW0N6JhIlAxqmn06DxpCuda/d4QalsLQKSYvPNqICjOsECxmRhoD4STWNL3vie9QlQ2AkUhyGcDJGbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7445 Hi, Here's a few fixes that are part of my effort to get all selftests building cleanly under clang. Plus one that I noticed by inspection. Enjoy! thanks, John Hubbard John Hubbard (3): selftests/futex: don't redefine .PHONY targets (all, clean) selftests/futex: don't pass a const char* to asprintf(3) selftests/futex: pass _GNU_SOURCE without a value to the compiler tools/testing/selftests/futex/Makefile | 2 -- tools/testing/selftests/futex/functional/Makefile | 2 +- tools/testing/selftests/futex/functional/futex_requeue_pi.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) base-commit: f03359bca01bf4372cf2c118cd9a987a5951b1c8 prerequisite-patch-id: b901ece2a5b78503e2fb5480f20e304d36a0ea27 -- 2.45.0