Page MenuHomeFreeBSD

linuxkpi: Move cdev_alloc into .c file
ClosedPublic

Authored by imp on Apr 4 2022, 5:03 PM.
Tags
None
Referenced Files
F98010202: D34771.diff
Wed, Oct 2, 12:34 AM
F98008606: D34771.diff
Wed, Oct 2, 12:26 AM
F97995155: D34771.diff
Tue, Oct 1, 11:23 PM
Unknown Object (File)
Sun, Sep 29, 12:37 PM
Unknown Object (File)
Sat, Sep 21, 8:20 PM
Unknown Object (File)
Thu, Sep 19, 12:57 PM
Unknown Object (File)
Mon, Sep 9, 1:40 AM
Unknown Object (File)
Sat, Sep 7, 6:03 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44989
Build 41877: arc lint + arc unit

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.