Re: [PATCH -v2 6/7] module: Account for the build time module name mangling

From: Sean Christopherson
Date: Fri Dec 06 2024 - 13:35:33 EST


On Mon, Dec 02, 2024, Peter Zijlstra wrote:
> Sean noted that scripts/Makefile.lib:name-fix-token rule will mangle
> the module name with s/-/_/g.
>
> Since this happens late in the build, only the kernel needs to bother
> with this, the modpost tool still sees the original name.
>
> Reported-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> ---

Tested-by: Sean Christopherson <seanjc@xxxxxxxxxx>