Page MenuHomeFreeBSD

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

Authored by jaeyoon on Thu, Aug 13, 8:38 AM.
Tags
None
Referenced Files
F166785446: D58816.id.diff
Sun, Aug 16, 3:05 PM
F166736619: D58816.diff
Sat, Aug 15, 11:40 PM
Unknown Object (File)
Thu, Aug 13, 12:15 PM
Unknown Object (File)
Thu, Aug 13, 12:14 PM
Subscribers
None

Details

Reviewers
imp
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