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

From: Bill Wendling

Date: Tue Feb 10 2026 - 06:29:47 EST


On Tue, Feb 10, 2026 at 3:28 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> 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.
>
*whew* I can go to sleep now. :-D

-bw