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 3, 11:14 AM
Unknown Object (File)
Wed, Sep 30, 7:44 PM
Unknown Object (File)
Tue, Sep 29, 10:45 AM
Unknown Object (File)
Sun, Sep 27, 1:02 AM
Unknown Object (File)
Sun, Sep 20, 2:52 AM
Unknown Object (File)
Tue, Sep 15, 12:39 PM
Unknown Object (File)
Sat, Sep 12, 7:55 AM
Unknown Object (File)
Fri, Sep 11, 3:21 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