Page MenuHomeFreeBSD

Fix 1
AbandonedPublic

Authored by imp on Jul 19 2023, 2:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 5 2024, 3:31 PM
Unknown Object (File)
Oct 5 2024, 6:04 AM
Unknown Object (File)
Oct 4 2024, 12:22 PM
Unknown Object (File)
Oct 3 2024, 9:38 PM
Unknown Object (File)
Oct 3 2024, 10:31 AM
Unknown Object (File)
Oct 3 2024, 8:50 AM
Unknown Object (File)
Oct 3 2024, 6:35 AM
Unknown Object (File)
Sep 27 2024, 11:37 AM
Subscribers

Details

Reviewers
None
Group Reviewers
cam

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52703
Build 49594: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jul 19 2023, 2:35 AM

Revert c5312bd79e66ce8ef50655ce7f3eca06d6b6e24f. and then apply this.

This is for discussion only at the moment.

In this fix, we rename memdesc_ccb to cam_memdesc_ccb and make it a static inline in cam_ccb.h

I don't feel strongly that we need to rename it. We don't call bus_dmamap_load_ccb, cam_bus_dmamap_load_ccb for example. However, the function is also a bit different now. I wonder which manpage you would want to put it in for example? Would it be some generic cam_ccb(9) or would it belong in a memdesc(9)? I can sort of see arguments both ways.

sys/cam/cam_ccb.h
1556

Maybe a blank line before the #ifdef?