[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87a64yh75s.fsf@meer.lwn.net>
Date: Thu, 10 Nov 2022 13:43:43 -0700
From: Jonathan Corbet <corbet@....net>
To: Randy Dunlap <rdunlap@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the mm tree
Randy Dunlap <rdunlap@...radead.org> writes:
> Looks like scripts/kernel-doc is deficient in parsing
>
> struct encoded_page;
>
> without having any { ... }
>
> and it doesn't handle "typedef union" or "typedef struct". :(
It's never needed to do that before...it's not often we document
structure types that don't actually exist :) kernel-doc wants to be
able to check that all of the fields and such are documented, so it
tries to parse the whole thing.
In this case, the right solution might be to just write kerneldoc
comments for the accessor functions instead, since that's what will
actually be used.
jon
Powered by blists - more mailing lists