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, May 20, 2:46 PM
Unknown Object (File)
Mon, May 18, 9:59 PM
Unknown Object (File)
Mon, May 18, 6:05 AM
Unknown Object (File)
Sat, May 16, 7:57 AM
Unknown Object (File)
Wed, Apr 29, 10:37 AM
Unknown Object (File)
Wed, Apr 29, 10:31 AM
Unknown Object (File)
Apr 27 2026, 1:54 PM
Unknown Object (File)
Apr 21 2026, 11:41 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