From patchwork Wed May 29 02:29:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13677667 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2059.outbound.protection.outlook.com [40.107.236.59]) (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 3134D15B0E4; Wed, 29 May 2024 02:29:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716949787; cv=fail; b=McuGDz48gffdrsZ02r7fEZ3NMTR7JsT00XQZz/00H0I/Ftslgh7fthJPDQLMvv8BEEAoiqQEtJLJTsUuLJH0SfA2xXEjekXZ3iHxoXUtr1CJEF0/55otXCT+2MMs0ftj80GEJbm9IYmXstGVtqkYsyQ/jLzcLoLBgBAT/vgCmVE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716949787; c=relaxed/simple; bh=KbRIf7nTBfEhGIqZc9kk1/tpFXmiXOeVhvTUKoFJHnE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=gDrNL9sxNnzLmwtcNxZ6zUwGutxeeIJ4y/7Y7AFqRdHiKNfvDYkYTNTseYJ/dl63Zz8c5LBzjmt2iJMhn9xSgyg8u/l+SYNmzSRvxORtkdGY1w9Ao6RfP0L15FpJg2Nbkk3vMj//wRrvawhKamKryHY2EAJACYsejltpnlGBn1w= 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=OO0ugLe3; arc=fail smtp.client-ip=40.107.236.59 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="OO0ugLe3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BTbVdXmGC2PZMcUHhSKjyzLhKa6k1SCNKmBuc0aESddsLkd0zAgfO3IXjLHfRn1k/VsVHWdM7l5LOTvxeI9lNYgJUMAKb0dVjgx4ilNkggu7hPeLOUIbE/HqBqNHZ1gF+0Xvit2tOPVCj1vcxcgzDyb56tZOsv7dR26BEUU9n6b58oaeH8sk7fxSWva2tFsGaWb/OLoZLqEEjz/XZL7fizweppgS1pYRELNgvY0+2wDZlPuyoui5hUFYEsUIUn5ku3xcvXonByD/o5sLRQcKdEo36G2yaQqMKt2CNk0A3LOMHII/AETsp1/04nHW07W5BcXPSF6NeQDf/tLwWLf3hw== 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=ETt+unHWN9G/LEmJW4Vn9axVEtEp5FYMTV96IkPVheQ=; b=nBhsXvey20c8CBm32zA9BqRf6VWVlmSRgQK+21hSgokoV+ORmxCZhIEXzMSDX9t8bsxqHd8yBZxvLet9JIkpWxjJ90W7PcoK6oyQRdxc4lhjKyzZIkNWKfiFkfjbz2YQOIhq+DH/tLhtJS7oymcuDgt50ZcI1VE9Clr/iWYx7ve2Om0meD5FoRhtuDH+83vage+2paMravwcE5C2HEIwGMMEoWEkxJJ1LWQsYDQCxBr2ggBWHR/2a8D1HZtL1AlHz0z4sGTuCYbArBh1AJWhO3Gg34fi6p0+yogSXUU98TBmyH+IUNeMFSxKgr1fUZ4nf9fSJ+hLR0g6yAB6kawRjw== 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=ETt+unHWN9G/LEmJW4Vn9axVEtEp5FYMTV96IkPVheQ=; b=OO0ugLe3yGTlehBnfueipcQjqIwyNbPgnTvlVWHBeCAwzocj/5Ca7cOHW33AxQcJFAGAAtz+13px8Q3WPG/ToXbaTqVzwNjIILHTHd0IuFZnH1UU2gLaRpqNsXpbg3J3GMfOADt2SBCc/OO/t+eSjgcDhYRMT0EV2qqv9rhnJAt5agZ/yJtXY3pjMLGbvRnAiSZ2P8KbiVLgfMsn6gqnc7ySo9ji7z2gSRrZzbBki9QypAoy/OXonahNRejfryY607on9CmNKvUd8DoxhU1NHrvgcIOYmpd6ONG7iLlKOxSnurfs1U/mQ4eeNLXtRkB/sVjuio2nsxmcaaKqx/3w/w== 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 LV2PR12MB5725.namprd12.prod.outlook.com (2603:10b6:408:14c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Wed, 29 May 2024 02:29:41 +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.7611.030; Wed, 29 May 2024 02:29:41 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Edward Liaw , =?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 v2 1/3] selftests/futex: don't redefine .PHONY targets (all, clean) Date: Tue, 28 May 2024 19:29:36 -0700 Message-ID: <20240529022938.129624-2-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240529022938.129624-1-jhubbard@nvidia.com> References: <20240529022938.129624-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: BYAPR05CA0046.namprd05.prod.outlook.com (2603:10b6:a03:74::23) 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_|LV2PR12MB5725:EE_ X-MS-Office365-Filtering-Correlation-Id: d8cb3909-4ed8-41b7-370f-08dc7f8731c5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|7416005|366007; X-Microsoft-Antispam-Message-Info: NH7UHkKM2uSXnyfcMBSDC5tCcnt/LpDrKnChOMR8vqk8ONwbt5sXNDNgcP2rvzJjQOdyKH3lQj1rH1xiirRVHhaCOc6DX+qK/oI6UYP0aDIzG4z2RL08ihwG8Mxutu4GkMv6X/dZ07SV825J4twzmSQkbZoF3M14Y0JEu8FS5GtDWaoZC3RdIVtADiADzTmpZtkF+JkPR0+pnXcGry8FzAWcz/t3GO4KA5ZHKQnVr8efDfo1hzLT0u3iAnRYYOeXPxTm4NjJ0OFYCbphY0CD1OAr7B6bp32fbgIOj8lwgSkk8MX2+XJC+ojK2QaDUo+Puu4xEao+IJGx+WGdqHO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;SFS:(13230031)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hOX2IxArCmXjSKHn5aCntJOyRNbSuJrkJor49mUX5vR5AZ4wDd+qkhG/bDP2xIcDxeeq8semY6ZQzdKkod/VNRUuz7wctM4racJo+FmAr9J5AkS2k8knkhVQ1htnf5fAziMPvki6n8A4Dgd4faTrUzzJqxMTPgOYuRRXdFOYm1YOKHHibOad3ZopbVA0A2cnlwrMeMTORytsrIBwGHsGcMdGaH9UKwWXeWoH08Vv84cyYIaEzO4ObcHKI1DO9CITJ/uLPfU9Dgz3cMQtNnYg0ll6sKEqUmbP/NpnDLHekFWllvmcSHRSczoBi4RHdJcwxR0CdNGR7jCwa/L2P3if8jTxXh0dSF9RJoKEuNTjR3hS6JmvxD3iRG5g23tJe7mmG49AqIafu39aEXDlCf1VtZiLMlMhBsUv95LFrs0aQinPdACvhB/V2gutFN6tvJLS0Qc2UarWQffRae4kdZiZNCDXKC/gewNIXyB2uTJTyheLR6KKah5L97BxxB6jXfaalJK+uHoT46aoKFTmd+9J03JBNa7uRy5dEBD6pZKMNLfafBWFTso9p2XAl48qnq3JbZvO9i+KM6W9kTh7SgDye0Qxa4UlTHvEE7FAWWic60o0S69In6sMvc8WzlkkG8HsdDQX8Kypo2N9zVfSLK3oW3t95jUGTJBF5O853S9XsTpQeIwBIeKEq7MZOS/mgUZ2/Xnvu6FNYKq3WG7wi+u9xOGbv8DRXC/QuBiVmJqvPFVmMY+8wh8pvLqLo3GgZyz/gDXur/AqQeZfcXppQxhL2rvvCE/QeYhFEaf2F+m1lcU3l01RV/UXMbp74NuvC3t+Z8dyy7bRsCKIy+guuE9Us+RJxTcKmyEYWtGzvQiEGMnsYiJd5OEx6L0xtUieIUCzRq4NaYZM8/KMTvzYcXgv1mEzplVjH5d8af3bWhPOY+I0Muj4dIIa3/ndSBXeI4OBKKKro56VqgRiQwGKamHeDc+n0Xx3NaSotHiI774Gj5W73kuQ4XfLcEZ5DE/xPzO/OfpkDFt524sDaubE7crf0xfU6Theb7ov/VidhjOD5cgVcOSm9sT7QGdWLqgfFyOn0Yk0k3SEZcT/tacWdswdULPVmeoVfoTdT9SegYV3chI3ayLnHMxvKiG5uK3miDF+S3/9tyO88qZ4m2fPdUJkkQ4NUPkN6ofsdIZyZ/lPMD2WobUWSrLseR4k3hfz2lm1uRRNEaRJPIU7EO6UiqWK0A0TxoAGCcilj/BQpLdnSxo8S4NHtOZ5b0E+RWJvcrD73zgPzfiiEEk8wwG8cIcnJaeG8Bgr59mZNM0KkxgIzEM8XX9GIr/e3mTvIKWD2JwrbYNbQXPj3trITKbrlojTaoZSNZIiPHhYLDVt0hcOT+riWlF6XMh5ReAr4lUTwRN1yUZfavJZWf126dJJ2EQ+xlW5V+YA/9QJjkXGUb0Kt69BS0cUhLabaGX2Vl97Zi0kXWww3KSgCoOERSigf3AwxjFLpk7Wxo9pHBVyMfOFBSCy9qAjZvs6X5oCDLB9AP2mSgiU0HDAKfE04Qy6DTN4PNPuUFbBdUT3cK1dn7b5RbwtGZl1yfl8LBrwCR+mQlNW X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8cb3909-4ed8-41b7-370f-08dc7f8731c5 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 02:29:41.2731 (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: QdNbUhcql8Koa2aiBuzfHfHZv9rugdiHOoGzfiBDVMzRMTyku1+YFCmTVcyQBniHo+SfZHbK+IvTOmL3ADpkRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5725 The .PHONY targets "all" and "clean" are both defined in the file that is included in the very next line: ../lib.mk. Reviewed-by: Davidlohr Bueso 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 Wed May 29 02:29:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13677668 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2059.outbound.protection.outlook.com [40.107.236.59]) (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 CFE1515B119; Wed, 29 May 2024 02:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716949789; cv=fail; b=uqaipHC5emt8Wg3H/3JyfUxumz6UtJwo73gvUENkTiSHXtReTnxP/TEwwTvhfd/Dk8CeYyhbmkW15la4fgf4sSSD7HSxG/XW3nJb5tFA5VAsGGExoZG9n0f8Ni+cpddm2j/fYpCQhqNYw6xmYa3FCXLkMFiloO09OXyw/4dF5BQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716949789; c=relaxed/simple; bh=IOmFOs3Q/TWtGdDRg7zopJXsyVMuAE1Hfun83T2AoYw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=ElmOxe+TXa4YcVyTMB2lkZI8tfOAIK5pvtmjG6Hqf09lLqesxSUBQqmLf56EKsQHynIIJtcUtdoEUXfhZ/Oy76MsF1uB5urjVtcv/UOCN3FnDUdcPheGSSXDZFD71fqv6qtxBrUSyDrr65s2GgGSFSF7IxjJotlMWA4exLwtYs4= 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=WG9N4rb1; arc=fail smtp.client-ip=40.107.236.59 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="WG9N4rb1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jX4CQbKY6pUOtzkEzSvrU4sRU9RcYXdP097Qf/nyfUkIPKABKDVpiagrBObR1dg2ogkvM0TCdgWU0K27S8SINAuxiOE1zZiy5yR4MqDjtUpcClsG1NDCTR7t22PwNYWESwsRdNUSBm23Cm9Hhs0kS3x7BypqeBE84+EtqZJus3lTbpjzQ+QPx7gO2o7o2JPIShCjmm/Ks4KNeaSybDg1NmeRT9SCAh5KOk7wH3iag6xDohttb3mE16k7T4WLzIgJ2H9YmbwP1cp85LEmLWaMpue6yOg8tfWQz4jQvde7WaQFEIRCaLu8zHIc5II+Fc8YPlWDILLwpYrIlxojU91tYg== 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=zH3UrrCrKeDtw+7I3LIXA5isBN9ztJ/Zy1KugoebhSY=; b=HVx1m0NLyfccmhF66anX2f+/0lwgMz6JSEbN+atvUPog7Tj5HwSkE7v7TXm9SYLMZz72XCjOToJON4YgTGDzUEmN8mSTiS4J3UGueN90naY8lPsXSIbn5S+IyrDj/lm99MixSm8jgs+PTFYVm3J8X0mGeDPehuvNfu5dFSSQFQBFyQ3be49HVDosCqU/CPEThxaodipPe8n+nyc3l2z/u+98l1Gb7OWvxWS9dw6MJ5Bok+g5ytSTpiG24LdDCbMHlE4V+CHCsGeXsMjZ5bTXA074Nhc5KVFyummMDNbXOc8cMOuHIuOwVOAv5zZ3nZZbs2xaKOIpyKG3nKtNIG8Weg== 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=zH3UrrCrKeDtw+7I3LIXA5isBN9ztJ/Zy1KugoebhSY=; b=WG9N4rb1Pf6H228kG06FQkWX7+scmZIPyfMHghVb15crUQJGva6yJkOXv5OS6FE+AMXOW1e9QU2VmewaFH3WOJiYiZ9I2aq8vLSv0vmB83FQXKtUvPmpmT4CaiynQoKgOY9zdeXkyDav3J7fH/ZCLhY2R+ckGUIw3GF2dbb5pV21xVAp03IE1C9SChCEKH+89KfJ1T4ifdvl2O73I4zVIz8d9xD2oDD7gUmcnyia+SPafwdMUoTHAPx3qRN3YQQTsXNqM44ketTOE9AocUVPZW9tU6IJ0826WjvIOp68F2A6d4ExPITxMCkpcb0SdK9Sxm6yU76XbsqMxT5I1CZmdA== 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 LV2PR12MB5725.namprd12.prod.outlook.com (2603:10b6:408:14c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Wed, 29 May 2024 02:29:42 +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.7611.030; Wed, 29 May 2024 02:29:42 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Edward Liaw , =?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 v2 2/3] selftests/futex: don't pass a const char* to asprintf(3) Date: Tue, 28 May 2024 19:29:37 -0700 Message-ID: <20240529022938.129624-3-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240529022938.129624-1-jhubbard@nvidia.com> References: <20240529022938.129624-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: BYAPR08CA0056.namprd08.prod.outlook.com (2603:10b6:a03:117::33) 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_|LV2PR12MB5725:EE_ X-MS-Office365-Filtering-Correlation-Id: b944a782-e164-4b61-ec15-08dc7f87321f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|7416005|366007; X-Microsoft-Antispam-Message-Info: zf3WApSk0W0WWaLC3EhQhPho6w7Fip7NhqUunw34uIfmA1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nmI2DmsqG3KHLJlFYyccaZ5PtaLUeVvPOk1BovTh4hXthch4kyHWoppJw5l6znjsh+rYD5BaBITxSfqGD+nkgikgmEI4jhTOGV6cf/zD4fTWsThEgSoWrIW9jRxcVrl7Pj4ubhGy23pT7nv83MA2DB+ppqCmD2eCqpCH5yU0SG1ro87qssA== 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)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2fUkZFOxUlnjaMA30u0uecdhPUJztk30+OGR1mObcOl5RZOEzkylXIWgO7tMcIdXTQ6+MUlJIyo4VitIa5xh0W66qyHe9iPDGEY0EQ75/Nqjdew8ilqSJyDs/fj65vqnACwj4fOZdSRWUuJbA/4JU0P5GVO0uyTYeqBc7bApDGWcowdnA3bRs7b4ggr6VPJVXjrS6nLPnOUA0R1iwX+1rHRU/PPWaCyYw/T5N+KB2itKSq6ZYZs2KfzOzoNW8r4gtw040GDJ2/aMDFM+lM4vKiQ0G8VELYx3pAI+DDLlrN0Acwf0YPW+EPX5m6KNvIMvH6D8q7nK6XAaY07iTtfojJkpKmEr+HN3Ouhx+aunB2NvJ3Hrz31VFOkYx1oFRjCA2KxlyFSwsV+prqkKLMXmYh17iJ3XYuS2ZK1dR2TQ2HzXc48719Em6LIzvx6E8SGp4hJWVNyEtfe3LVZqSyf5ULEQA8I2q1MkOIUBOtBc6pTlnTUvwR4pY82DpQL809/vf7IEv9XLu8SMyomoZD9lhX6u8c4ZCjqztz7isBjjZjaqZ2sIqtaCavmwlMq0B7mAHq4TIpsvLTGhZungXJ87VgrycmQGhq7ccG0MDsFH4Hm+Ls1L8n2pljfyYIp/3mtJiYVDKBC/SB+hVoIfrYp61MJ1owpJ9/1tXMksC9shzYwfMlZlidk1p5BBbvXDmQrjwdVxWoOHyK1g7YuR4EeyzCHMaApc27YmpyDcwUYdoh0RmS4/69QMh6RBLkC7oUkXsMIi1Z4SQmUUyB3MJiFyoyEetBPZ/xxhvmU3h0OotiVKC/VyhlbKM13e/lgRDF/YyQQhwUhzaQPMTOgnUGBOySgYrIcKtsg8OYvEdeoPm1tXU5ypmjFWrBQq6HD/PkLePwxkYKeXkGY2dd9kqd58HWSYn/+grze65cbaOmlr50tw1PxMxSY/NnY+3gNLZ2DPnM49Igv+qtrS07l0wsSgWc/S4K+qlSJcwtBl4wcPRO3NWpGehiDxKH7T38rewnPcT2aBxUzr0TyhWmzm+j6NjHiqOHv7W0ME6Swg7pueGnCWJS4rl4oB4y1WL0nZItWuZVM4loTTULzeCmKlRuFRkIs2irMGi0tTCEsQGz53hefr0hwJzJXSma9JAMu5vJ0teQJj67Ehsggpxrs/mQJkC/2G0OzGyq4+4rc/E7iki9tYLbIjB07GY6NLxU2r19Oodi64o9Cn6LKVkYg7iUXjSL6LyqEf2VVqawwX0zTVGaQ62eecUOYGO08JqzUHVuVgCrFqHAEW3/HbsIri9hM+AzKhvOAnrrzLpSZMpxQi6CnwYEs7ieUIxnz/MEDHnYUqBVGwMGWAAm7wP1G3BWkfKacyq4I/0Ky3IQXYgiBpkDfaPAgM/A82K7V6dSvqcXxScWobUHOuLSURRYxkpkTGXAT1WyA7qEkVI8dQXJ4k+n31gMfvqUPlefp1vxO6qN3zUVZPLY9M7O8/efb4GMGCnkq6FHXKA31xb2/gmyRN+Mh1GRVZy3XgRs6EG8w1Tg5vLy995Ius5BlnpHe1Wgxxl/V9Fyj4rDAYe1/I3EmmSGexX6vYNHCLhvLAWez8B1La X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: b944a782-e164-4b61-ec15-08dc7f87321f X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 02:29:41.8758 (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: 3UZHHdOoVf1hBjWStaNPUhbrfXbB49epCf1dq8wnfvGrBU8th1MDSxooKrINvRufkwRvFNpDlbRrKjcrWyUaFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5725 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") Reviewed-by: Davidlohr Bueso 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 Wed May 29 02:29:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13677669 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2059.outbound.protection.outlook.com [40.107.236.59]) (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 02AC315B134; Wed, 29 May 2024 02:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716949791; cv=fail; b=QgJSyerpp8tasINkxE7PCh/L0WqVuCkTASJkWU6Y/ppFTeg2aJxtQNcEX5MDcOJ7bRPrvf4CsK5cXXYmqHzNrvLjkQYtLV3wvAcjx19u1SQNnOR+qFuaRyiaOaGgVP5BRuo/KP4rOJP05iWxX2h/vmG+5aUaefM2HXQlZQ05cm0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716949791; c=relaxed/simple; bh=xkF1tllS7e+DZTZ9jHJSvdZ+FCkY0pPkBri0DoOV1RM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=BBSCLuGLR9YFRlZZj9M76ylcFQZn2/7EPhgsdqkJli4WOmkMREAoyIbPElA38CDMhc5XezK26DvmSgVgp6lJ0YymlnHFFt3W4YrpSvx2iIHxeJRJH1AijH6L11qNcUox496ZdLzyz8MyiOcNLc5PijdxBC79HgNiCHzQcPMYPIE= 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=j/Wmk0n7; arc=fail smtp.client-ip=40.107.236.59 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="j/Wmk0n7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ANzEtoY72FMqL1QuBPt1r06HkrDQdHaaYS9mLRD8Ngquaz1JK2VoajwOfqzccHlKzszBUr0o763VX2xlyJbrZRgCUU3Wy8jSg1zH6SS4P6xdOVP2HibQFgiIAfFNXk/r7jKbTFA+SCQWLL8xsUFC5rK+NQiY2IAiZ/9rokqtw9i0MwYjQmJgLYtA5Q5CjI70ss41ARQ8FxEDbnwlRgxMMUWYsAFxWfj14GA38qHBi9YPXenrmwNOvb9+camlRYWCHSA623KISvlW6WOxvOYjVe2BLAgDM0LmL/MvdPAKtN8eO/CMim8xRX04SvxWBvRlrx1K1BNRIcm0hvRW4y2X5w== 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=Kec8cUwqo8PXdu5+3RBtwP8N5SJ9HTi/RyoulnN5bi4=; b=J6adr3vqLGtVOM0APBhe1qV1xawH/WWXNWXsHN6EfddLagkfM6EA9q0iM7RdROYlm8+JALV+CrO7o1s2lGsi0aoWU/R9U7C1obEqW25qzPwNpTrIn2AudeNjf3YHiSjigxUHBW/v7qo6bYAB94fjRlJ3fQnPDNsZJ88pWSClM8NhyMNbn0XaO7s/Rh6tW82DbqCIqeXBwyia+8c1P5EFlsA9yOuSXCUE3nYw/iL8bdbgU+0Z6Avn9gC+KGDn1qs7RKBOMCsZvfrYlwc+2ACWRi7WAmVA0iptOZzUHJckbim+XCEwL/7EFs9RMR3Eo1WQLA+99VXTMmjFbof7wta64g== 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=Kec8cUwqo8PXdu5+3RBtwP8N5SJ9HTi/RyoulnN5bi4=; b=j/Wmk0n7YZeqHwiYD9dbsNiG0D/emPJopUZy2Fx7jSLynNKgCjDvS7SRUIyoLdaZmMvrHBMQVJuo3XzgoDunINM3ZRq7qe6FstJ8+P7FI9k/Z0ByW44d4pwfIOG00GIsMCLlcC2DjDNz6z4DCo/nkWLct77sPYe2/Jj6A1DFZiz4HughQLH1TfQ2FJfcxZcmp6mwlUb/sK3HxqgSE35fI8PsNUeF0ShX/V8zpeg4xEp6DffCNlt2Q2a2/JwU+PsWnjC5KiCjSk7qqilFj7lPO4CY6qB1yHUrvdFnZitEsGkI9lZ8jQQEA32vK8Og1FHOAISXCCZLs+H38PIfi3B7hg== 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 LV2PR12MB5725.namprd12.prod.outlook.com (2603:10b6:408:14c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Wed, 29 May 2024 02:29:42 +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.7611.030; Wed, 29 May 2024 02:29:42 +0000 From: John Hubbard To: Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Edward Liaw , =?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 v2 3/3] selftests/futex: pass _GNU_SOURCE without a value to the compiler Date: Tue, 28 May 2024 19:29:38 -0700 Message-ID: <20240529022938.129624-4-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240529022938.129624-1-jhubbard@nvidia.com> References: <20240529022938.129624-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: BYAPR01CA0051.prod.exchangelabs.com (2603:10b6:a03:94::28) 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_|LV2PR12MB5725:EE_ X-MS-Office365-Filtering-Correlation-Id: a380de59-e873-4c3d-f469-08dc7f873295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|7416005|366007; X-Microsoft-Antispam-Message-Info: npLtzPX0i66kFFdml2DvgqehsUrSx97FzUR+lGi8IFBt7PI9oh2kUCxzVaeBnhtJwRqgrKviJCiq0Gm02+K2c+WYHQ5VrlcDzaoYEXEo6ZR3SR7olwdeL12Zx8C+PCgNte1EmxfNpGThD4105S0OtFqoqFtlcPjxWL5LksT5WzjGpwSh7p5gYgeuXodVCgpoRK/IJRgLmw5/jJK+V1BtZmTNTI3N8+SCT0+nX3sXTsq9KmOcoIjibptsDP5sQkFsPZuZuOcX8Qi2jTWOyd1AeFMyfIrKglZHZtaRuTO+5Bo7t5R+6aIwIq8r2HAstj1vw/4+/rnNnap6kaaeY0cGUcX0F65S+ePRL9x64ROelwEN+ePhYFUD82uCyQ/yyJbEMEZJzjswgvoeC73SvNdkt0JxgAK2jBE1Kr10J/IqioS5SRbqz6z/YSFRhAzPrbC/ddq2rDLhmLCWBtAJ9xkVBHpSfQivxU7yUmpylwRR2MyaPxo0sESrtz5ALhA6dr4qJHf29BJokMYaWNpNgd3UUazdtuQ7r8/05Z05MVs40n9tbIrjI4oeAUBQXTNV9drEP2qarblnFkziKMJ4RoAlMug3cB+uRQTKl/uy2YGXoIbFOMXyEQIGJc2JAoAOItUMm25Jn1lCFWn747CsnN4wwAtSDBSGPjOtTSARB+nEupaQx5wBLRZGBuPxX/G3cU0toM5J3jMdprxeC/khaM3fEyKeIbvj4mzTcCXJBC/XuAxTuuJFvJq1NafP/8lfQ7Zx4XPSjC18f6J8bbiAYMkTQEi6Gdk6gaqs7i2Z7d3tftJyAmLHVPZA34RaqRs29Z5wdE00w5zQDIlcqNGd+cKvQjGFChQE92oLKzWza8Zsv8NVCAtqnPJvvo+gWO0XU4PZ0MFfxzmY5Z2mgnuOwXjzJSo3XfLlZUI3BymWyeSQdpzoOYFY6/JFZiGzExxKswA6+QA5YDCsaZMc2ZasRgClCm0r6rwazRHpG+hzjQbM0lGiIw/2sU3cBbcIEg9X/WFgR0lVXptrQ7f3uaqBYf+dCCe0E9TzbiBetpaP3ftwkmkj6V4iOYmy5hNymNFZWftaxqfPVBKj89QYWg3NKapVubTDhH8miOUhnA83fDiEeaFz2n1UVIoAuhOlqJqb67QQ9TJ0ZHhqGpngcrd18nllE8Sbm1T33YxRQ5dcQM+aHCVcUEM2XKFmzTpA8OsLLtjRyt6Zc9u3DXK/1NxP8+sDFmfreKZK1G4lW2Oa9G6N3O/I6q2VnXQxgYBdrEAyjd4/B7n5SNqx32j97ZPsEtbaOg== 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)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SvGrp1/s2leccSg0K8xBVT2COSGlfmhXSPBz4Bw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GFne+1KYfHhWoEbadISv81ErIBDGTblmBh1AbYNzQWyKGtJP43U78eiC7eLVHCaiOQUMSgiv3jx3QB55NFbRGSXdwdXQAgbpn/7n4fEBAS+jJD08cf2Y4xiKJUYkGLzmLTj8EMXjSUiac1WQ8nL3sq3QlcIM9b1U5nCwLvLVwpAedpAtEEKBFKCJ7UiEgFBzULeRM8pJ3d1g/Bq83aU2rejkp4T+QKlfDB7H5BtiWPsD00cTjDQDOdca2SszW5cWR/hYT6CheZPmVXOB7AnL6Li1BbAdAS3rmtTKd2q1WXycD9SYHrS++UC0D37PpLXNGPxzHjy4LRDyatwnFeLaZ5cA86w+Vtdfd7cfd7jGfN1qW9Xkaz4gau0VkYTy2pBRgHRTgMS+jh6leJ30rSomX6S8DHv/60JilJWqSb8PxbWGZjT2U74F6NUE78m/UJuwYeLGYtXgovvd X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: a380de59-e873-4c3d-f469-08dc7f873295 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 02:29:42.6437 (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: Pz48Syd1TfxOdbjrKNfjZ1mGJfj8Q83hgIgCPZoW7pZ4JP2PlQUn7qF7wmQz5SpDK3a7PSSzGx3YXYZgYvkTYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5725 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. Reviewed-by: Edward Liaw Reviewed-by: Davidlohr Bueso Signed-off-by: John Hubbard --- 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 := \