Page MenuHomeFreeBSD

linuxcommon: retire extra module version.
ClosedPublic

Authored by dchagin on May 23 2021, 9:54 PM.
Tags
None
Referenced Files
F110486664: D30409.diff
Wed, Feb 19, 2:50 AM
Unknown Object (File)
Fri, Feb 7, 9:35 PM
Unknown Object (File)
Jan 10 2025, 8:02 AM
Unknown Object (File)
Dec 13 2024, 6:24 PM
Unknown Object (File)
Dec 6 2024, 7:36 AM
Unknown Object (File)
Nov 7 2024, 10:41 AM
Unknown Object (File)
Nov 7 2024, 8:08 AM
Unknown Object (File)
Nov 1 2024, 5:25 AM
Subscribers

Details

Summary

The second 'linuxcommon' line was added by r349886
(c66f5b079d2a259c3a65b1efe0f2143cd030dc52) but Linuxulator's modules
dependend on 'linux_common'. To avoid such mistakes in the future
make all modules dependent on 'linuxcommon'.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39449
Build 36338: arc lint + arc unit

Event Timeline

rename module to linuxcommon

sys/compat/linux/linux_common.c
88–89

I'm a little confused, were there other references to linuxcommon already, or other reasons linuxcommon is preferable to linux_common?

Could we not instead just change this to DECLARE_MODULE(linux_common, linux_common_mod, SI_SUB_EXEC, SI_ORDER_ANY); and move the MODULE_VERSION(linux_common, 1); here?

sure, rename moduledata name and module name to 'linux_common' and retire 'linuxcommon' line.

This revision is now accepted and ready to land.May 25 2021, 6:20 PM
This revision was automatically updated to reflect the committed changes.