Re: [PATCH 0/2] modpost: error logging cleanups
From: Nathan Chancellor
Date: Fri Aug 07 2026 - 17:26:53 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.
>
> 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(-)
Thanks, this definitely seems like a nice cleanup! I have definitely
noticed how inconsistently modpost messages were formmatted in the past.
Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>
--
Cheers,
Nathan