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)
Dec 3 2024, 9:05 AM
Unknown Object (File)
Nov 28 2024, 5:19 AM
Unknown Object (File)
Nov 24 2024, 7:50 PM
Unknown Object (File)
Nov 23 2024, 12:42 AM
Unknown Object (File)
Nov 13 2024, 12:24 AM
Unknown Object (File)
Nov 8 2024, 3:45 AM
Unknown Object (File)
Oct 31 2024, 8:36 PM
Unknown Object (File)
Oct 25 2024, 3:02 PM

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.