projects/linux·commit 5a2a15cd

Merge tag 'compiler-attributes-6.9' of https://github.com/ojeda/linux

5a2a15cd · Linus Torvalds <[email protected]> · 2024-03-11 12:18:20 -07:00

Pull compiler attributes update from Miguel Ojeda:
 "Trivial fixes to the __counted_by comments"

* tag 'compiler-attributes-6.9' of https://github.com/ojeda/linux:
  Compiler Attributes: counted_by: fixup clang URL
  Compiler Attributes: counted_by: bump min gcc version
Commit
5a2a15cd7f91c4c065a8acaa36afc9fcdcdd4dcd
Parents
e5a3878c · 2993eb7a

Merge commit. Changes below are compared with the first parent: e5a3878c.

Changes

1 files changed · +2 −2

FileStatusAddDelContent
include/linux/compiler_attributes.hmodified+2−2View file

include/linux/compiler_attributes.h

View file
diff --git a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h
index 2856662..2898106 100644
--- a/include/linux/compiler_attributes.h
+++ b/include/linux/compiler_attributes.h
@@ -95,11 +95,11 @@
#endif
/*
- * Optional: only supported since gcc >= 14
+ * 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://reviews.llvm.org/D148381
+ * clang: https://github.com/llvm/llvm-project/pull/76348
*/
#if __has_attribute(__counted_by__)
# define __counted_by(member) __attribute__((__counted_by__(member)))