[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240803171933.483316-1-ojeda@kernel.org>
Date: Sat, 3 Aug 2024 19:19:29 +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 1/5] Compiler Attributes: update GCC and Clang's `counted_by` URLs
Clang 18 was released with support for `counted_by`, thus point to the
documentation now instead of the implementation PR.
Similarly, GCC's bugzilla issue is now closed and GCC has a documentation
page for it.
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 32284cd26d52..b658136e6cda 100644
--- a/include/linux/compiler_attributes.h
+++ b/include/linux/compiler_attributes.h
@@ -98,8 +98,8 @@
* Optional: only supported since gcc >= 15
* Optional: only supported since clang >= 18
*
- * gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896
- * clang: https://github.com/llvm/llvm-project/pull/76348
+ * gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-counted_005fby-variable-attribute
+ * clang: https://clang.llvm.org/docs/AttributeReference.html#counted-by
*/
#if __has_attribute(__counted_by__)
# define __counted_by(member) __attribute__((__counted_by__(member)))
base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b
--
2.46.0
Powered by blists - more mailing lists