[PATCH 0/2] modpost: error logging cleanups

From: Jani Nikula

Date: Fri Aug 07 2026 - 12:36:24 EST


I was doing some refactoring, and kept hitting modpost errors and
warnings. It was getting a bit annoying that a lot of the modpost
messages have different formats for modules, and different quoting for
symbols, sections, and namespaces.

Clean them up a bit.

BR,
Jani.


Jani Nikula (2):
modpost: add module as parameter to modpost_log()
modpost: use mod_warn() and mod_error(), clean up logging

scripts/mod/modpost.c | 112 +++++++++++++++++++++---------------------
scripts/mod/modpost.h | 8 +--
2 files changed, 60 insertions(+), 60 deletions(-)

--
2.47.3