Re: [PATCH] gpiolib: annotate struct acpi_gpio_mapping with __counted_by_ptr
From: Linus Walleij
Date: Wed Oct 07 2026 - 08:14:47 EST
On Mon, Oct 5, 2026 at 12:26 PM Bill Wendling <morbo@xxxxxxxxxx> wrote:
> I sent a patch to add `__NO_COUNTED_BY` AND `__NO_COUNTED_BY_PTR`
> macros to prevent this. They're similar to `__NO_FORTIFY`.
>
> https://lore.kernel.org/all/20261005102518.2400984-1-morbo@xxxxxxxxxx/
I see you are hashing this out with the right people, thanks for
going the extra mile and fixing this properly!
Yours,
Linus Walleij