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)
Thu, Apr 9, 7:07 PM
Unknown Object (File)
Wed, Apr 8, 8:50 PM
Unknown Object (File)
Tue, Apr 7, 2:45 PM
Unknown Object (File)
Sun, Apr 5, 12:28 PM
Unknown Object (File)
Thu, Apr 2, 10:05 AM
Unknown Object (File)
Fri, Mar 27, 11:45 AM
Unknown Object (File)
Fri, Mar 27, 5:52 AM
Unknown Object (File)
Tue, Mar 24, 11:12 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