[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aNOQJH8kDW3lFHf-@levanger>
Date: Wed, 24 Sep 2025 08:31:00 +0200
From: Nicolas Schier <nsc@...nel.org>
To: Alexey Gladkov <legion@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>, Petr Pavlu <petr.pavlu@...e.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Sami Tolvanen <samitolvanen@...gle.com>,
Daniel Gomez <da.gomez@...sung.com>, linux-kernel@...r.kernel.org,
linux-modules@...r.kernel.org, linux-kbuild@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Danilo Krummrich <dakr@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, rust-for-linux@...r.kernel.org
Subject: Re: [PATCH v8 6/8] modpost: Add modname to mod_device_table alias
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 <ojeda@...nel.org>
> Cc: Andreas Hindborg <a.hindborg@...nel.org>
> Cc: Danilo Krummrich <dakr@...nel.org>
> Cc: Alex Gaynor <alex.gaynor@...il.com>
> Cc: rust-for-linux@...r.kernel.org
> Signed-off-by: Alexey Gladkov <legion@...nel.org>
> Acked-by: Danilo Krummrich <dakr@...nel.org>
> ---
> 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 <nsc@...nel.org>
--
Nicolas
Powered by blists - more mailing lists