On Thu, Sep 18, 2025 at 10:05:50AM +0200, Alexey Gladkov wrote:
> At this point, if a symbol is compiled as part of the kernel,
> information about which module the symbol belongs to is lost.
> 
> To save this it is possible to add the module name to the alias name.
> It's not very pretty, but it's possible for now.
> 
> Cc: Miguel Ojeda <[email protected]>
> Cc: Andreas Hindborg <[email protected]>
> Cc: Danilo Krummrich <[email protected]>
> Cc: Alex Gaynor <[email protected]>
> Cc: [email protected]
> Signed-off-by: Alexey Gladkov <[email protected]>
> Acked-by: Danilo Krummrich <[email protected]>
> ---
>  include/linux/module.h   | 14 +++++++++++++-
>  rust/kernel/device_id.rs |  8 ++++----
>  scripts/mod/file2alias.c | 15 ++++++++++++---
>  3 files changed, 29 insertions(+), 8 deletions(-)
> 

Acked-by: Nicolas Schier <[email protected]>

-- 
Nicolas

Reply via email to