Re: [PATCH] gpiolib: annotate struct acpi_gpio_mapping with __counted_by_ptr

From: Bill Wendling

Date: Sun Nov 08 2026 - 08:41:15 EST


On Thu, Oct 8, 2026 at 1:18 PM Bill Wendling <morbo@xxxxxxxxxx> wrote:
>
> On Wed, Oct 7, 2026 at 4:19 AM Linus Walleij <linusw@xxxxxxxxxx> wrote:
> >
> > 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!
> >
> Always! :-)
>
> I'll ping this thread once we get the problem solved.
>
Hi Linus,

Kees' patch made it in and the original patch now builds. PTAL.

-bw