# Re: \[PATCH v4 6/7\] modpost: Add modname to mod\_device\_table alias

- From: FUJITA Tomonori \<fujita.tomonori@gmail.com\>
- Date: 2025-06-23 06:15:13 
- List: linux-modules
- Page: https://ratatoskr.run/linux-modules/2025/06/3102496
- Thread: https://ratatoskr.run/linux-modules/2025/06/3101587/t.md

```text
On Sat, 21 Jun 2025 17:20:49 +0200
Miguel Ojeda [ref] wrote:

> On Sat, Jun 21, 2025 at 3:57 PM Alexey Gladkov [ref] 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.)?
> 
> Cc'ing Tomo: do we need an update on `rust/kernel/net/phy.rs`? Should
> we factor out the formatting?

Yeah, looks like the update is necessary. Thanks for the heads-up.

I've just send a patchset to convert the PHY abstractions to use
device_id crate:

https://lore.kernel.org/lkml/20250623060951.118564-1-fujita.tomonori@gmail.com/
```
