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, Mar 28, 9:22 PM
Unknown Object (File)
Feb 9 2024, 3:59 PM
Unknown Object (File)
Jan 13 2024, 1:27 AM
Unknown Object (File)
Dec 20 2023, 2:11 AM
Unknown Object (File)
Dec 14 2023, 9:59 PM
Unknown Object (File)
Dec 14 2023, 7:59 AM
Unknown Object (File)
Nov 17 2023, 9:21 PM
Unknown Object (File)
Nov 17 2023, 9:14 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable