Page MenuHomeFreeBSD

cam: prefer cam_sim_softc() over accessing cam_sim structure directly.
ClosedPublic

Authored by imp on May 20 2021, 4:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 24, 10:44 PM
Unknown Object (File)
Sep 13 2025, 9:44 PM
Unknown Object (File)
Sep 10 2025, 2:55 AM
Unknown Object (File)
Sep 9 2025, 8:10 PM
Unknown Object (File)
Sep 5 2025, 3:37 PM
Unknown Object (File)
Sep 1 2025, 6:19 AM
Unknown Object (File)
Aug 24 2025, 1:15 PM
Unknown Object (File)
Aug 18 2025, 10:29 PM
Subscribers
None

Details

Summary

Use the accessor function to get the softc for this sim. This also drops
an unneeded cast.

Sponsored by: Netflix

Test Plan

All the other SIMs in the tree access softc via the accessor, and this makes it consistent.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39311
Build 36200: arc lint + arc unit