Currently hdd_context_create() directly dereferences the global CDS context pointer in order to save a pointer to the HDD context. This is a layering violation. Instead update cds_set_context() to handle the HDD context, and call that from hdd_context_create() to save the pointer to the HDD context. Change-Id: Ie54725225a7dd5653eeb35e94aa3f3a752edc62a CRs-Fixed: 2115513 |
||
---|---|---|
.. | ||
inc | ||
src |