Page MenuHomeFreeBSD

cam/mmc: Use xpt_path_inq instead of hand-rollded equivalent
ClosedPublic

Authored by imp on Jul 5 2025, 6:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 18, 1:36 AM
Unknown Object (File)
Fri, Sep 18, 1:22 AM
Unknown Object (File)
Fri, Sep 18, 1:21 AM
Unknown Object (File)
Thu, Sep 10, 3:07 PM
Unknown Object (File)
Wed, Sep 2, 10:37 AM
Unknown Object (File)
Aug 31 2026, 10:48 AM
Unknown Object (File)
Aug 26 2026, 9:02 PM
Unknown Object (File)
Aug 21 2026, 10:40 AM
Subscribers
None

Details

Summary

There's no reason to inline xpt_path_inq here. While there was a
mismatch between this use (CAM_PRIORITY_NONE) and the old xpt_path_inq
code (which used CAM_PRIORITY_NORMAL), xpt_path_inq has been corrected
to use _NONE since this is a non-queued command.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable