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
F167192763: D30360.id89538.diff
Wed, Aug 19, 7:35 PM
F167192761: D30360.id90373.diff
Wed, Aug 19, 7:35 PM
F167192747: D30360.diff
Wed, Aug 19, 7:35 PM
Unknown Object (File)
Mon, Aug 17, 6:25 PM
Unknown Object (File)
Fri, Aug 14, 4:44 PM
Unknown Object (File)
Wed, Aug 12, 7:17 PM
Unknown Object (File)
Tue, Jul 21, 3:14 PM
Unknown Object (File)
Jul 4 2026, 5:23 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