On Fri, 23 Oct 2020 21:39:07 +0200 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote: > > > /** > > > - * struct refcount_t - variant of atomic_t specialized for reference counts > > > + * struct refcount_struct - variant of atomic_t specialized for reference counts > > > > Hm, this is a weird one. Yes, it's actually "struct refcount_struct", > > but the usage should be refcount_t (through the typedef). I'm not sure > > what the right way to document this is. > > Yeah, this is wrong. If this is due to a kernel doc warning, the kernel > doc machinery is wrong *again*. ...except that, since refcount_t is a typedef, "struct refcount_t" doesn't actually exist. Whether it works properly after doing s/struct// remains to be seen... jon