Page MenuHomeFreeBSD

Fix 1
AbandonedPublic

Authored by imp on Jul 19 2023, 2:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 8, 3:57 PM
Unknown Object (File)
Sun, Sep 6, 1:04 PM
Unknown Object (File)
Sun, Sep 6, 12:59 PM
Unknown Object (File)
Sun, Sep 6, 8:43 AM
Unknown Object (File)
Sat, Sep 5, 8:31 PM
Unknown Object (File)
Sat, Sep 5, 12:35 PM
Unknown Object (File)
Sat, Sep 5, 2:22 AM
Unknown Object (File)
Fri, Sep 4, 8:35 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?