Re: [PATCH 1/2] Compiler Attributes: Add __counted_by_ptr macro

From: Arnd Bergmann

Date: Tue Feb 10 2026 - 06:28:55 EST


On Tue, Feb 10, 2026, at 12:00, Bill Wendling wrote:
> On Tue, Feb 10, 2026 at 12:41 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>>
>> This is every use of __counted_by_ptr() in linux-next at the moment.
>>
> I assume it's a git snapshot of GCC. :-) What does
> `scripts/cc-version.sh` produce for it?

It shows 'GCC 160000'

I see my mistake now, I tried to build the lastest snapshot
but accidentally checked out an older git commit on that
branch, which didn't work.

I retested with current HEAD now, and that does work.

Sorry for the confusion.

Arnd