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
F97494434: D30360.diff
Sun, Sep 29, 5:26 PM
Unknown Object (File)
Fri, Sep 27, 8:38 AM
Unknown Object (File)
Fri, Sep 27, 8:38 AM
Unknown Object (File)
Fri, Sep 27, 8:38 AM
Unknown Object (File)
Fri, Sep 27, 8:27 AM
Unknown Object (File)
Tue, Sep 24, 3:55 AM
Unknown Object (File)
Tue, Sep 17, 1:27 PM
Unknown Object (File)
Tue, Sep 17, 10:35 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