Re: [PATCH] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr
From: Bill Wendling
Date: Mon Mar 16 2026 - 14:49:20 EST
On Tue, Mar 3, 2026 at 6:40 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> > - void *buffer; /* output buffer */
> > + void *buffer __counted_by_ptr(bufsize); /* output buffer */
>
> Please split this up somehow to keep the line readable, e.g.
>
> /* output buffer: */
> void *buffer __counted_by_ptr(bufsize);
>
> Otherwise looks good.
Done. Sorry for the delay. I was on vacation.
-bw