Thread (55 messages) 55 messages, 5 authors, 2026-03-13

Re: [PATCH 00/38] docs: several improvements to kernel-doc

From: Randy Dunlap <hidden>
Date: 2026-02-22 01:24:21
Also in: intel-wired-lan, linux-doc, linux-hardening, lkml

On 2/20/26 5:24 PM, Randy Dunlap wrote:

On 2/18/26 2:12 AM, Mauro Carvalho Chehab wrote:
quoted
Hi Jon,

This series contain several improvements for kernel-doc.

Most of the patches came from v4 of this series:
	https://lore.kernel.org/linux-doc/cover.1769867953.git.mchehab+huawei@kernel.org/ (local)
Mauro,
Is this series available as a git tree/branch?

Or what is the base for applying this series?
I applied the series to linux-next-20260220. It applies cleanly
except for one gotcha (using 'patch'):

  In patch 25, in the commit description, I had to change the
  example before/after diff to have leading "//" ('patch' was
  treating them as part of the diff).

I am still seeing kernel-doc warnings being duplicated.
Seems like there a patch for that but it's not applied yet and not part
of this series...?

The results on linux-next-20260220 look good.
I do have one issue on a test file that I had sent to you (Mauro)
earlier:  kdoc-nested.c

In struct super_struct, the fields of nested struct tlv are not
described but there is no warning about that.
Likewise for the fields of the nested structs header, gen_descr,
and data.

Does this series address when /* private: */ is turned off at the
end of a struct/union?  If so, I don't see it working.
See struct nla_policy for where the final struct member should be
public.

kdoc-nested.c test file is attached.


thanks.
-- 
~Randy

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help