From: Mauro Carvalho Chehab Date: Mon, 19 Jan 2026 12:05:03 +0000 (+0100) Subject: docs: kdoc: improve description of MsgFormatter X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c0f975ef4a96cb488bcb5fca6e852fc347bc49;p=thirdparty%2Flinux.git docs: kdoc: improve description of MsgFormatter The description there is quite vague. Make it clearer. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jonathan Corbet Message-ID: <94269990e2d665bec08a1b6f4d28d84939cb9d83.1768823489.git.mchehab+huawei@kernel.org> --- diff --git a/tools/docs/kernel-doc b/tools/docs/kernel-doc index 902397804e805..aed09f9a54dd1 100755 --- a/tools/docs/kernel-doc +++ b/tools/docs/kernel-doc @@ -182,7 +182,10 @@ return 0 if there are issues at kernel-doc markups; """ class MsgFormatter(logging.Formatter): - """Helper class to format warnings in a similar way to kernel-doc.pl.""" + """ + Helper class to capitalize errors and warnings, the same way + the venerable (now retired) kernel-doc.pl used to do. + """ def format(self, record): record.levelname = record.levelname.capitalize()