Page MenuHomeFreeBSD

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

Authored by jaeyoon on Thu, Aug 13, 8:38 AM.
Tags
None
Referenced Files
F167554120: D58816.id183969.diff
Sat, Aug 22, 3:48 PM
Unknown Object (File)
Fri, Aug 21, 9:39 PM
Unknown Object (File)
Fri, Aug 21, 12:52 PM
Unknown Object (File)
Thu, Aug 20, 8:35 PM
Unknown Object (File)
Thu, Aug 20, 3:18 PM
Unknown Object (File)
Thu, Aug 20, 1:08 PM
Unknown Object (File)
Wed, Aug 19, 7:49 AM
Unknown Object (File)
Wed, Aug 19, 7:35 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