Page MenuHomeFreeBSD

ufshci: pass the queue being destroyed to the cmd descriptor teardown
ClosedPublic

Authored by jaeyoon on Aug 13 2026, 8:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 17, 1:14 PM
Unknown Object (File)
Wed, Oct 14, 11:22 PM
Unknown Object (File)
Wed, Oct 14, 12:02 PM
Unknown Object (File)
Mon, Oct 12, 9:07 PM
Unknown Object (File)
Mon, Oct 12, 3:32 AM
Unknown Object (File)
Tue, Oct 6, 11:09 PM
Unknown Object (File)
Tue, Oct 6, 12:17 AM
Unknown Object (File)
Sat, Oct 3, 11:14 AM
Subscribers
None

Details

Summary

ufshci_req_sdb_destroy() hardcoded &ctrlr->transfer_req_queue when
destroying command descriptors instead of using its req_queue argument.

No functional change: the branch only runs for the transfer queue, so
the two pointers are always the same today. Using the argument keeps
the function queue-agnostic for when more transfer queues exist (MCQ).

Sponsored by: Samsung Electronics

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75552
Build 72435: arc lint + arc unit