Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp801361lqh; Fri, 31 May 2024 18:46:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFgRX69Mjg2t9njZ6uAYSGlbVh1i/H+AEdodztqof42d522YrJEV6ZTcq9CnjcjNZ2vfPsYL17RKu8JPBF+UODBTV2CauZDKnz78h/9g== X-Google-Smtp-Source: AGHT+IHpnJskLvQTne3vxzpK7hJD022Yox//HZEjPoOPCG8FP91reg6fVwdQhrtJhZba1WnichhE X-Received: by 2002:a05:6358:450:b0:196:ecaf:a54e with SMTP id e5c5f4694b2df-19b490d7247mr334822555d.29.1717206367084; Fri, 31 May 2024 18:46:07 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e09d0asi2519414a12.303.2024.05.31.18.46.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 18:46:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=hUc5l4oM; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-197641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197641-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2FAEFB23556 for ; Sat, 1 Jun 2024 01:45:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D19996AAD; Sat, 1 Jun 2024 01:45:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="hUc5l4oM" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2059.outbound.protection.outlook.com [40.107.223.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 999B81879; Sat, 1 Jun 2024 01:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.59 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717206342; cv=fail; b=SCuY2UMDeRrXMSbQJ65CP6ixkwD5l0F7UlslFf/sa0K3JYX7rxE9tFgOGK+k1vt6PxpI/GExYQxHqdKA/7lTbKOYrqi1hnD7hk5WaKVO4HWcMcgYSYd+yFnek9+iQ29kw8e0T7A0F6mACqdmIhAK+Ie1xrEKKC6SD+l4akwRvUM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717206342; c=relaxed/simple; bh=mj97Og7Jj/96BZx060jUHADJEw4nGYkMeSyeMXF1SwE=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=iBBYh33k4bh6lJnOzVpXK04A3PzQWDJKz6tOaE93cxP8VFoPDseuKQgCcnhxLmdvV2RQ5xZuwi1SbfZefqa3IkvuTCtblbkJctYEtni1WHAULM6iel/B2o0Acm4/FxjDrXupEUepOX4yjpJnOE9+biV4nDUo042F0Uvo+bt4z0c= 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=hUc5l4oM; arc=fail smtp.client-ip=40.107.223.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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bSlm7zyVceMPOX+bP1o88vJUIGC9NpTKEZQwqSIu67ruCk1i2/Z5eyO/u6tBAUb7F2Ylbof6AKJ+A5HOO1KMQMTPb2AFN3/N0bhJr3WESQ1Gxgu72G5L1wWaMWGTbUUkCPxkDKzR/N7kiwpSOpGViP0SJ4SSuJi7xm+9by2yyVop8AgPdL2el/bjzEYbzcES3H++7ITGD7WhYyvdTdN8ntChfJIypG/Xkp9ShRIJmLORjsKa/WB62p+y5sEeu+IhkQT49zbQw4sHoG0DJ780OjUijArnLyOaE6QytvcPITPTZmIy1SjMm9rC+uo8FCnfNoFsQar/FxoxN6EpnYMvnA== 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=+DPE/RtnAmKE6z1NnEm6h7F+o3mNDtDXZbFghHKFd0A=; b=gP132Czx7iMtP/8P4nTqzmlOp4tT9LhO3+kEqX/cfqWkS5DIBlmfn2NAC+neJXHgL6P9N5X5NP/LcyMjh5eykhozhH6r4i63pfz3mn139LBf4rroNhEogxGd3D0cq3zZiJC2EVvBqq5o1xfd9V9w0A+RDk3vx+g+YkO3xpabRe22VFHNrJINDLI/SBXrIrLv9KCXalYHQs61UzQuR3lQYYtE7N/mr6SzWOKNvvfA5XQfXppeFvNbDRMxjf5a2dCDZESF/Rg6KDMw4pSDrc/IismWfiGWNzHeQ/1qG5TJGYd08qFe33v6HzdethzTvZRtwoSR9N64A+UE1n97o1X2kw== 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=+DPE/RtnAmKE6z1NnEm6h7F+o3mNDtDXZbFghHKFd0A=; b=hUc5l4oMGFVa/iS6bfCV8d9LPTi+5IokKpGZxxXm3i/68QNoUqjYFo1axN7CyHhPlt4bUvOUKD9/VBr36cjwmjXXsEeI0RLXB9H5s2dW0pFTSYZBorwjeiMDpT4yhwDni+r4QqYu/THoDQDkgvPNLrK6hnyLvPwEUpU8Z4jLphr5/QxIjOPFGwKc6jzvCaH0OXzKWBKzF9PyuebMG0DexvaYYHCsJdi+ggb2gmHr8+bzbQc/Cmb8o6c3US5ZEPVaZPCIDCcw66ZX3ygrwsLdQYr6Avx/GnSdfI2WBD4aVAy6S7PKfnq9c66NaFo9dq3Tlolr2z2l8MXzhgQ9TeENiQ== 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 MN0PR12MB5931.namprd12.prod.outlook.com (2603:10b6:208:37e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.25; Sat, 1 Jun 2024 01:45:37 +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.7633.021; Sat, 1 Jun 2024 01:45:36 +0000 From: John Hubbard To: Shuah Khan Cc: Andrew Morton , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Maciej Wieczor-Retman , Ryan Roberts , Christian Brauner , Muhammad Usama Anjum , Alexey Gladkov , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, John Hubbard Subject: [PATCH v2 0/2] selftests/openat2, fchmodat2: fix clang build failures Date: Fri, 31 May 2024 18:45:32 -0700 Message-ID: <20240601014534.268360-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.1 X-NVConfidentiality: public Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR13CA0081.namprd13.prod.outlook.com (2603:10b6:a03:2c4::26) 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_|MN0PR12MB5931:EE_ X-MS-Office365-Filtering-Correlation-Id: 60ca25d0-57da-4ade-4b54-08dc81dc8897 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|7416005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?1ZwonbHz/ELD0jcEScCJcuAs7lAs9dhe5fovNI/BxRAX+sIRV82PrKKYptYJ?= =?us-ascii?Q?m0ssJRysmMluebAc9tKttoDCXsG/bxo3NGtOa2w41BeFAaAK1ru2bMeTE45h?= =?us-ascii?Q?hPRsIKzwJ53BDE+fooCe3Dt29dyHtpudcYVlzbInVtTcs+EgGrEk0qkD3DFa?= =?us-ascii?Q?NyCeLOvsNh8oR+IbCvVcG8XFBwNZvHwPk7pDPojwaY68V+dRWfp7R7LksOdW?= =?us-ascii?Q?GUSbzhMwlPh5TIWT1k4Bagy6Zw1DbeoDa3mH33URz8hpTbW84HVRhUbCDoV/?= =?us-ascii?Q?lW1sMLEDFaOh+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Q?7fkcGsEvVk2JOOOAbfXczPS2odM0SbHbaJx4WkL4tzp7ZcUG7fjrWarmToGp?= =?us-ascii?Q?iLaRUAQWvaes5Dt9b6I/5tQgHmvJowbAsFcV9yQozqsUdZ+P0I7XAdagq6w3?= =?us-ascii?Q?Pg0=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)(366007)(1800799015)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bzGK9NMaLFT3ygmBA9P9TMpDKNFcy8xxV57cdLn5W+uhQd+sXLa8Ww0Vnecb?= =?us-ascii?Q?X0AFRYn2QeRDmsx33xZaj9Jz/N34svRiMrtvSY1OPGTHfAI8lb4M5J+gi3lw?= =?us-ascii?Q?oZzb9GUUSDINmEIC9JHD1CaW+ERQZvlyD+XmuOwmgjPnK5gXAuM1/affw/fM?= =?us-ascii?Q?ypgJwMeCLNkuCgK72D/HyT5yWux1DH8W+xITkjlbpU0ustJd/lUiCDaDxzd7?= =?us-ascii?Q?eBSpf2YRs2Qyydzt2g58W0Hiv4g81iTApeJT+qMWHJP9oaOF1WA2B54yk7rE?= =?us-ascii?Q?dVRV6INTj2SVBBohlXWrp4SDKhWodCO/0YBNIwVKtMMqAuasYGUjwMZrYVnu?= =?us-ascii?Q?mMV9xJslkjzX7rfwNhVfxIIm21ibOTR8/zZYai6U/HqFlxrUy7vSJka9rtOI?= =?us-ascii?Q?VijpyCp1cCreL+f8mwDKfbutrWw4R0GQmaQvIDYmGXLDZzt2wLTmsMV8OkBr?= =?us-ascii?Q?6xO82oPU0CP7HgyYDwd8nNskH9e7YeWOyXBXbom5jZ+tzF7fyDYnB6Vf09lJ?= =?us-ascii?Q?piN4Br+irKA6J5iHONye8bRnAD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iEO8Ed9ziAJ7qWdjhtkLJzd8y6VuQye8kvvPcqmOiSS4oI3g276j/Toc?= =?us-ascii?Q?GnNiz6Hy0d5+05er97JFfHOCAooJb5Ow68Kg8kZOYcRHUkU6I/LOtebe0E09?= =?us-ascii?Q?nfFKBeKqBMLFbfZoDg7c7J4TGyGZnN6ytl5o+OYm?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60ca25d0-57da-4ade-4b54-08dc81dc8897 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2024 01:45:36.4973 (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: znJL8h1S0vAqK2Yj4eHA735P6LAcHm8AbvZ+HjkuTWlTXjBZZjrAVkteNpKgXgeFWxLmiCiQuzOHmFb/upgEQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5931 These two subsystems require very similar fixes, so I'm sending them out together. Changes since the first version: 1) Rebased onto Linux 6.10-rc1. 2) Added a Reviewed-by tag from Ryan Roberts. See [1] for that. Related work: I've sent a separate fix that allows "make CC=clang" to work in addition to "make LLVM=1" [2]. [1] https://lore.kernel.org/518dd1e3-e31a-41c3-b488-9b75a64b6c8a@arm.com [2] https://lore.kernel.org/20240531183751.100541-2-jhubbard@nvidia.com John Hubbard (2): selftests/openat2: fix clang build failures: -static-libasan, LOCAL_HDRS selftests/fchmodat2: fix clang build failure due to -static-libasan tools/testing/selftests/fchmodat2/Makefile | 11 ++++++++++- tools/testing/selftests/openat2/Makefile | 14 ++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) base-commit: cc8ed4d0a8486c7472cd72ec3c19957e509dc68c -- 2.45.1