Re: [PATCH] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr
From: Christoph Hellwig
Date: Tue Mar 03 2026 - 09:46:59 EST
> - 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.