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)
Wed, Sep 2, 10:37 AM
Unknown Object (File)
Mon, Aug 31, 10:48 AM
Unknown Object (File)
Wed, Aug 26, 9:02 PM
Unknown Object (File)
Fri, Aug 21, 10:40 AM
Unknown Object (File)
Aug 9 2026, 10:41 PM
Unknown Object (File)
Aug 9 2026, 7:38 PM
Unknown Object (File)
Aug 9 2026, 4:04 PM
Unknown Object (File)
Jul 28 2026, 8:55 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