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
F163599749: D51168.id.diff
Fri, Jul 24, 8:30 PM
F163561878: D51168.id158134.diff
Fri, Jul 24, 12:41 PM
Unknown Object (File)
Thu, Jul 23, 2:53 PM
Unknown Object (File)
Thu, Jul 23, 5:03 AM
Unknown Object (File)
Sat, Jul 18, 2:59 PM
Unknown Object (File)
Tue, Jul 7, 3:09 PM
Unknown Object (File)
Sat, Jul 4, 5:54 AM
Unknown Object (File)
May 20 2026, 2:46 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65229
Build 62112: arc lint + arc unit