Re: [PATCH] unwind deferred: Annotate struct unwind_cache with __counted_by
From: Steven Rostedt
Date: Fri Nov 14 2025 - 10:49:37 EST
On Fri, 14 Nov 2025 09:56:44 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > > unsigned int nr_entries;
> > > - unsigned long entries[];
> > > + unsigned long entries[]; /* Fixed size, not bound by nr_entries */
> > > };
> >
> > Perhaps it should be:
> > unsigned long entries[ /* MAX_UNWIND_ENTRIES */ ];
>
> Whatever would keep the coccinelle folks from sending more patches.
Thorsten,
Which comment would you feel is more obvious that entries is not bound by
nr_entries and prevent this patch from being sent again?
-- Steve