Page MenuHomeFreeBSD

linuxkpi: Move cdev_alloc into .c file
ClosedPublic

Authored by imp on Apr 4 2022, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 3, 6:03 PM
Unknown Object (File)
Thu, Jul 10, 10:00 PM
Unknown Object (File)
Jun 18 2025, 5:16 PM
Unknown Object (File)
Jun 15 2025, 6:46 PM
Unknown Object (File)
Jun 1 2025, 8:37 AM
Unknown Object (File)
May 30 2025, 9:17 AM
Unknown Object (File)
May 29 2025, 7:58 AM
Unknown Object (File)
May 21 2025, 10:48 AM

Details

Summary

Move cdev_alloc into linux_compat.c since it encodes the size of struct
linux_cdev into the client modules otherwise.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 4 2022, 5:03 PM
This revision is now accepted and ready to land.Apr 4 2022, 5:18 PM
emaste added inline comments.
sys/compat/linuxkpi/common/src/linux_compat.c
610

same (aside) comment as another review, curious how FreeBSD M_* and Linux flags interact

sys/compat/linuxkpi/common/src/linux_compat.c
610

Yea, it's funky... But presumably it's working code and I'm just copying from one file to another...

This revision was automatically updated to reflect the committed changes.