Re: [PATCH v4 6/7] modpost: Add modname to mod_device_table alias
From: Alexey Gladkov
Date: Sat Jun 21 2025 - 12:10:36 EST
On Sat, Jun 21, 2025 at 05:20:49PM +0200, Miguel Ojeda wrote:
> On Sat, Jun 21, 2025 at 3:57 PM Alexey Gladkov <legion@xxxxxxxxxx> wrote:
> >
> > +/* Format: __mod_device_table__kmod_<modname>__<type>__<name> */
>
> Should we mention that `__kmod_` and `__` will be the search strings,
> or otherwise the Rust formatting (i.e. that is carries a line etc.)?
Ok. Make sense.
Basically there's a comment for the MODULE_DEVICE_TABLE macro that tells
where and how that symbol is parsed.
> Cc'ing Tomo: do we need an update on `rust/kernel/net/phy.rs`? Should
> we factor out the formatting?
>
> Thanks!
>
> Cheers,
> Miguel
>
--
Rgrds, legion