Re: [PATCH][next] media: venus: hfi_cmds: Replace one-element array with flex-array member and use __counted_by

From: Sergey Senozhatsky
Date: Tue Jan 09 2024 - 08:29:12 EST


On (24/01/09 07:17), Gustavo A. R. Silva wrote:
>
> > Sorry for shameless plug, a quick question: has any compiler implemented
> > support for counted_by() at this point?
> >
>
> Not yet. And at least for GCC, it's expected to be released in v15.

I see. Thank you.

I got confused by include/linux/compiler_attributes.h comment, as I'm on
clang-18 currently, seems that we need to bump min compilers version.
Oh, and clang link 404-s on me. I'll send a quick patch, I guess.