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)
Mar 10 2025, 7:25 PM
Unknown Object (File)
Mar 6 2025, 2:36 AM
Unknown Object (File)
Mar 3 2025, 11:43 AM
Unknown Object (File)
Feb 25 2025, 4:08 AM
Unknown Object (File)
Feb 15 2025, 7:11 PM
Unknown Object (File)
Jan 28 2025, 8:26 PM
Unknown Object (File)
Jan 15 2025, 10:04 PM
Unknown Object (File)
Jan 5 2025, 11:03 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable