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, Sep 12, 7:55 AM
Unknown Object (File)
Fri, Sep 11, 3:21 PM
Unknown Object (File)
Thu, Sep 10, 10:33 PM
Unknown Object (File)
Tue, Sep 8, 5:55 PM
Unknown Object (File)
Tue, Sep 8, 5:20 PM
Unknown Object (File)
Tue, Sep 8, 4:12 PM
Unknown Object (File)
Tue, Sep 8, 1:27 AM
Unknown Object (File)
Mon, Sep 7, 2:01 PM
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 Not Applicable
Unit
Tests Not Applicable