Compiler Attributes changes for v6.9

A couple trivial changes.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPjU5OPd5QIZ9jqqOGXyLc2htIW0FAmXsVlcACgkQGXyLc2ht
 IW3yFRAApUQnxyEC4zZ7yqIiRemAzjVuP7LEN3fuG9/JH1phYJOZqUC+sDK5UHvp
 p0sLMTeX7VeyirWSB/eZD5lpDN5ZB1qfIiVJ4J5o5fQ7oJ6nk+PkdjWYaXkB0oKJ
 gtb4JKQxBLwJWLrN5scVYdKlSqQX/fTp49r1q+8CiOuvCLmPRGfF4OJxWZzzv0AM
 Ezv4Y4xjlrG5bA14zmo4pN1F5whhBf0TUU79Z+z9ketMNDLPsioEw+O24mVlsVLo
 DCHjGf0DVmhq2nj2QykgAoIq+7Yf6Pp/CcSmJfRFW1/8edEZpGObqNCXzitNgZFR
 /a5HdNfVgtTl03mQ2bBwJAd1myfjAewRiS/MlR3H6NuCdBwoIWHRNbLdCLqb7qY3
 p5jSer4FVvDg8Qc89mgKULxIALtdOsqTgBs3iyack7w+yR7YmnlmaphNcx7IMSp3
 8n5dnXDMOlPOB4U9E0Ixy7VK9Jx1RGAMKDETsaHTNRBUslYj55hDRH4PIePoiRFG
 yvWmyC/ZUbHt1L1hcgEsECrkT965VCq+pPg4pHtxadGREijVXGIF6QMjEfDkpaue
 KdI34sfRasLo83kQ4Yb3a4jE1XUl7I0TS6oXtwsFnpX0OQmQil/7CUzS7w8SJusE
 N3NGxrHesKOb/sPyCcGSXj5VnxPx50T4rTdXfKJGb5/94+oJt/Q=
 =dnO4
 -----END PGP SIGNATURE-----

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
This commit is contained in:
Linus Torvalds 2024-03-11 12:18:20 -07:00
commit 5a2a15cd7f
1 changed files with 2 additions and 2 deletions

View File

@ -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)))