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)
Sun, Aug 9, 10:41 PM
Unknown Object (File)
Sun, Aug 9, 7:38 PM
Unknown Object (File)
Sun, Aug 9, 4:04 PM
Unknown Object (File)
Tue, Jul 28, 8:55 AM
Unknown Object (File)
Tue, Jul 28, 12:55 AM
Unknown Object (File)
Sun, Jul 26, 11:35 AM
Unknown Object (File)
Fri, Jul 24, 8:30 PM
Unknown Object (File)
Fri, Jul 24, 12:41 PM
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