[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240803171933.483316-2-ojeda@kernel.org>
Date: Sat, 3 Aug 2024 19:19:30 +0200
From: Miguel Ojeda <ojeda@...nel.org>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
llvm@...ts.linux.dev,
linux-kernel@...r.kernel.org,
patches@...ts.linux.dev
Subject: [PATCH 2/5] Compiler Attributes: remove unneeded version comments for older LLVMs
The kernel upgraded to support only LLVM >= 13 in commit 9c1b86f8ce04
("kbuild: raise the minimum supported version of LLVM to 13.0.1"),
thus remove version comments that are not needed anymore.
Signed-off-by: Miguel Ojeda <ojeda@...nel.org>
---
include/linux/compiler_attributes.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h
index b658136e6cda..5d171a7f8cbd 100644
--- a/include/linux/compiler_attributes.h
+++ b/include/linux/compiler_attributes.h
@@ -256,7 +256,7 @@
#endif
/*
- * Optional: only supported since GCC >= 7.1, clang >= 13.0.
+ * Optional: only supported since GCC >= 7.1
*
* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-no_005fprofile_005finstrument_005ffunction-function-attribute
* clang: https://clang.llvm.org/docs/AttributeReference.html#no-profile-instrument-function
@@ -275,7 +275,7 @@
#define __noreturn __attribute__((__noreturn__))
/*
- * Optional: only supported since GCC >= 11.1, clang >= 7.0.
+ * Optional: only supported since GCC >= 11.1
*
* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-no_005fstack_005fprotector-function-attribute
* clang: https://clang.llvm.org/docs/AttributeReference.html#no-stack-protector-safebuffers
--
2.46.0
Powered by blists - more mailing lists