Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
Compiler Attributes: counted_by: fixup clang URL
Browse files Browse the repository at this point in the history
The URL in question 404 now, fix it up (and switch to github).

Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/b7babeb9c5b14af9189f0d6225673e6e9a8f4ad3.1704855496.git.senozhatsky@chromium.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
  • Loading branch information
sergey-senozhatsky authored and ojeda committed Jan 23, 2024
1 parent 16c31dd commit 2993eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/compiler_attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
* 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)))
Expand Down

0 comments on commit 2993eb7

Please sign in to comment.