History

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

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

Linus Torvalds committed 2 years ago

Commit 5a2a15c2 parents e5a3878 2993eb71 file · +2 −2Browse files

Unified · Split

include/linux/compiler_attributes.h+2−2
@@ -95,11 +95,11 @@ · 94 unmodified lines
95#endif95#endif
96 96
97/*97/*
98 * Optional: only supported since gcc >= 1498 * Optional: only supported since gcc >= 15
99 * Optional: only supported since clang >= 1899 * Optional: only supported since clang >= 18
100 *100 *
101 * gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896101 * gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896
102 * clang: https://reviews.llvm.org/D148381102 * clang: https://github.com/llvm/llvm-project/pull/76348
103 */103 */
104#if __has_attribute(__counted_by__)104#if __has_attribute(__counted_by__)
105# define __counted_by(member) __attribute__((__counted_by__(member)))105# define __counted_by(member) __attribute__((__counted_by__(member)))