Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp265944rdb; Thu, 25 Jan 2024 14:58:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IErmLbQrr3ogL+J23+EP2JSOd0GiljXA7VSuKoQw3xjADk5HvafXYcqeEk/FZy6ae44RRXX X-Received: by 2002:aa7:d8cd:0:b0:55c:c7f4:9a23 with SMTP id k13-20020aa7d8cd000000b0055cc7f49a23mr165345eds.40.1706223534620; Thu, 25 Jan 2024 14:58:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706223534; cv=pass; d=google.com; s=arc-20160816; b=qPdKPIxmKekpcuTR/qrk+0HSV1ol/fkuQhnTt0EB2lqi2oQ7vP9HeLXsChlpEFtQmo 3Ekof3xjNtZnp/pT9AQaXwHvGQnkX8uzUdyWY6gbXM73nZDGML4xtlfAESBdgspAf8nL 63s0zZAB+bRvwiGXa717kMQ3EGE0H7tt9WXt+oLVrcsguuI6R+V8ZJLuxbJFbFlBILQS E1zLjGEVruh50C6ALFoVjaME9USWfKWyq53uGrwLR9J2Pps9M8MuyTs1yvOQgbclJs4P yaZy4jseDWzWiWVgtSL2Ew9tj3GWj9kaMxgpTF1qQY0KT6hkTpI1wKL7ZkvamIcFBr6H qPLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=6qlH6HTo8BEoxSdRdxkokMH0uEYIwm2S4d4goQM+NFg=; fh=ZP5UfZO5uFQtxwk/205ngyo1UVBoE5zwE8GrR2OpbhQ=; b=T+DNgASDtWfLurh0coquFPVURRF300lzKkccX4HGopsLBp+PIprZh8GOGFPHCnL22u 78xsNGgEk0db5raRT/VcrETNuHzizSGSSKlTOVCpIZwy1Iux7Ut4nrCt7MvY54njDwH9 5yXXWkXRNw6XSrRKMGtLZdKNReAmT/a1FcDi1HpXI+TUOmLOJtTWgZ1sPBtK/tMhPPkM lu9GSuEbWSAqXzTpJ/pqgHC60yEShBQBp1reNnlprCwdXncH9ToH2IzZU6m8HFvfg88B 31ebOtl3LZ9qMWfNUjV5Ib5DqJesPlEkNzGCDsTilxFEHDROQW8VgQoLP3+AnNxx1CiT IfCQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IKpJlDgk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39391-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h15-20020a0564020e0f00b0055c8d8e7d5csi3356775edh.214.2024.01.25.14.58.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 14:58:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IKpJlDgk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39391-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 5BF2D1F22079 for ; Thu, 25 Jan 2024 22:58:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D59C13AA26; Thu, 25 Jan 2024 22:56:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IKpJlDgk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 28B5717BBB; Thu, 25 Jan 2024 22:56:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706223369; cv=none; b=ls4xXHXtEn3eKHYb6LnE7UYx6ioTOqUguhhQMDSXsbaSDS8/C3NYkWYK51MMdA9b0DK5HeWa1iZ3wAo92+mZaN5qeWsy+h5F7tTV2GKPUxcLThAMv160hmq4C6WCSbwqLi2FQhJii10/EW+S43UFZQbjE+g10ANKOQEpCq6l0O8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706223369; c=relaxed/simple; bh=UeJFFhP5K5DQQoi+dtNguzI64CEeLgb3Zsu8VdMJzbI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WK7DKcUpJF+EaRjXjxX1NyJxClRTLVzMldic+67IU6C679hE1hTq0rk/7V7Nn16yLRMRW1xvqAKd3z06r06VvPHvxNMczYQxcvz0Z3QhzL/6sMBWNb1G2p1Xa44Xn/3wTZB8tBYJfnfuQuFvAold5lz7ILj+ucXSpEHt7z4URUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IKpJlDgk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 674C0C43399; Thu, 25 Jan 2024 22:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706223368; bh=UeJFFhP5K5DQQoi+dtNguzI64CEeLgb3Zsu8VdMJzbI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=IKpJlDgkl/iKbA65PPiAZAJWgcrumBdsCpKqhd1yawQ1gNcfQoofLNdMCRkzBQ/CX 2SOE06iU/CAKpkmvpYJWss1opIxrGLaUn52/wmHPAQ9gNImZ6L21nq20EKgueS8jMW 88fV9fWPJAO94Vf256jt2TBkn3w9+vQAZ59WwGMcHQ18HccEorP8m+9KxWe8Xqx54V uJQ+fCcrdA6CeC6hBZ2hy+15ar4HFAa/yEVhpzxrqm9FkIlhkSwpL93p47wvbl93pM DN9+P7rzwQ0eMFJdLcinrXhnVQWpzerXJJh+lGB6vMlKnyNublIgHP7Oztu8TGYBXY 7eexNUfCsRmvg== From: Nathan Chancellor Date: Thu, 25 Jan 2024 15:55:17 -0700 Subject: [PATCH 11/11] compiler-clang.h: Update __diag_clang() macros for minimum version bump Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240125-bump-min-llvm-ver-to-13-0-1-v1-11-f5ff9bda41c5@kernel.org> References: <20240125-bump-min-llvm-ver-to-13-0-1-v1-0-f5ff9bda41c5@kernel.org> In-Reply-To: <20240125-bump-min-llvm-ver-to-13-0-1-v1-0-f5ff9bda41c5@kernel.org> To: akpm@linux-foundation.org, masahiroy@kernel.org Cc: nicolas@fjasle.eu, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev, linux-kernel@vger.kernel.org, Nathan Chancellor X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=918; i=nathan@kernel.org; h=from:subject:message-id; bh=UeJFFhP5K5DQQoi+dtNguzI64CEeLgb3Zsu8VdMJzbI=; b=owGbwMvMwCUmm602sfCA1DTG02pJDKmbnv274uD7sqTfcJrv1oY5EQ2Jn1iuaARsDb7702pzy AG/T3NMOkpZGMS4GGTFFFmqH6seNzScc5bxxqlJMHNYmUCGMHBxCsBEPoQy/BX/Efs1wid5zX5D iXdJwW67+OPV7t/0vxglYmRs2uB/1IeRYeeL5T8/fzUv/ztZxMmKXWiN8FPZn9tcpSZunbXC/Ld fBicA X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 The minimum supported version of LLVM for building the kernel has been bumped to 13.0.1. Update the __diag_clang() macros for this bump. Signed-off-by: Nathan Chancellor --- include/linux/compiler-clang.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h index f0a47afef125..49feac0162a5 100644 --- a/include/linux/compiler-clang.h +++ b/include/linux/compiler-clang.h @@ -114,11 +114,7 @@ #define __diag_str(s) __diag_str1(s) #define __diag(s) _Pragma(__diag_str(clang diagnostic s)) -#if CONFIG_CLANG_VERSION >= 110000 -#define __diag_clang_11(s) __diag(s) -#else -#define __diag_clang_11(s) -#endif +#define __diag_clang_13(s) __diag(s) #define __diag_ignore_all(option, comment) \ - __diag_clang(11, ignore, option) + __diag_clang(13, ignore, option) -- 2.43.0