Re: [PATCH 1/1] Compiler Attributes: disable __counted_by for clang < 19.1.3
From: Miguel Ojeda
Date: Mon Jun 09 2025 - 09:58:42 EST
On Mon, Jun 9, 2025 at 3:14 PM Dafna Hirschfeld
<dafna.hirschfeld@xxxxxxxxx> wrote:
>
> Why is the define of __counted_by moved from here (compiler_attributes.h)
> to a different location (compiler_types.h) ?
`compiler_attributes.h` is supposed to have only things that do not
depend on the kernel configuration and so on.
It sounds like those out-of-tree headers should be fixed.
I hope that helps.
Cheers,
Miguel