Page MenuHomeFreeBSD

Fix 1
AbandonedPublic

Authored by imp on Jul 19 2023, 2:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 8:46 PM
Unknown Object (File)
Wed, May 13, 8:38 PM
Unknown Object (File)
Wed, May 6, 12:30 AM
Unknown Object (File)
Mon, May 4, 7:11 PM
Unknown Object (File)
Fri, May 1, 12:48 PM
Unknown Object (File)
Thu, Apr 30, 5:13 PM
Unknown Object (File)
Tue, Apr 28, 7:43 AM
Unknown Object (File)
Mon, Apr 27, 6:31 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?