Re: [PATCH v4 6/7] modpost: Add modname to mod_device_table alias

2025-06-22 Thread FUJITA Tomonori
On Sat, 21 Jun 2025 17:20:49 +0200 Miguel Ojeda wrote: > On Sat, Jun 21, 2025 at 3:57 PM Alexey Gladkov wrote: >> >> +/* Format: __mod_device_table__kmod_ */ > > Should we mention that `__kmod_` and `__` will be the search strings, > or otherwise the Rust formatting (i.e. that is carries a

Re: [PATCH v4 6/7] modpost: Add modname to mod_device_table alias

2025-06-21 Thread Alexey Gladkov
On Sat, Jun 21, 2025 at 05:20:49PM +0200, Miguel Ojeda wrote: > On Sat, Jun 21, 2025 at 3:57 PM Alexey Gladkov wrote: > > > > +/* Format: __mod_device_table__kmod_ */ > > Should we mention that `__kmod_` and `__` will be the search strings, > or otherwise the Rust formatting (i.e. that is car

Re: [PATCH v4 6/7] modpost: Add modname to mod_device_table alias

2025-06-21 Thread Miguel Ojeda
On Sat, Jun 21, 2025 at 3:57 PM Alexey Gladkov wrote: > > +/* Format: __mod_device_table__kmod_ */ Should we mention that `__kmod_` and `__` will be the search strings, or otherwise the Rust formatting (i.e. that is carries a line etc.)? Cc'ing Tomo: do we need an update on `rust/kernel/net/

Re: [PATCH v4 6/7] modpost: Add modname to mod_device_table alias

2025-06-21 Thread Miguel Ojeda
On Sat, Jun 21, 2025 at 3:57 PM Alexey Gladkov wrote: > > rust/kernel/device_id.rs | 8 Cc'ing maintainers and list. Cheers, Miguel

[PATCH v4 6/7] modpost: Add modname to mod_device_table alias

2025-06-21 Thread Alexey Gladkov
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 Cc: Alex Gaynor Signed-off-by: Ale