]> Gentwo Git Trees - linux/.git/commit
docs: kdoc: extract output formatting from dump_struct()
authorJonathan Corbet <corbet@lwn.net>
Thu, 7 Aug 2025 21:16:38 +0000 (15:16 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 11 Aug 2025 16:25:43 +0000 (10:25 -0600)
commit23c47b09315935df140ca5ce2ddddb85453ed64d
treeb904f3e621c9132dfe553cbc6e379e22411a1574
parente6dd4e2a5ca1c1e2fb168249532da1d95b5b24af
docs: kdoc: extract output formatting from dump_struct()

The last thing done in dump_struct() is to format the structure for
printing.  That, too, is a separate activity; split it out into its own
function.

dump_struct() now fits in a single, full-hight editor screen.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250807211639.47286-12-corbet@lwn.net
scripts/lib/kdoc/kdoc_parser.py