scripts/kernel-doc.py: output warnings the same way as kerneldoc
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Apr 2025 10:09:07 +0000 (18:09 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 9 Apr 2025 18:10:32 +0000 (12:10 -0600)
commit0a4e24128f4c0e1d83ebc7f79812c16f1e3fc9e0
tree630c60e863e632c1d51dac61e87c9b4a643222a4
parent094a4845789baade4df0ddccd5bd19a88af30b3f
scripts/kernel-doc.py: output warnings the same way as kerneldoc

Add a formatter to logging to produce outputs in a similar way
to kernel-doc. This should help making it more compatible with
existing scripts.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/559f0ad9e6fecfcbb3cc38b6097463bd38d58629.1744106241.git.mchehab+huawei@kernel.org
scripts/kernel-doc.py