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
F132083101: D51168.id.diff
Mon, Oct 13, 12:33 PM
F132083091: D51168.id158024.diff
Mon, Oct 13, 12:33 PM
F132083087: D51168.id158134.diff
Mon, Oct 13, 12:33 PM
Unknown Object (File)
Sun, Oct 12, 11:58 PM
Unknown Object (File)
Fri, Oct 3, 6:02 PM
Unknown Object (File)
Mon, Sep 15, 12:19 PM
Unknown Object (File)
Sep 13 2025, 10:35 AM
Unknown Object (File)
Sep 13 2025, 6:23 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