commit | 797b21b36bdbe54ed5508b000a67dd3f0a868687 | [log] [tgz] |
---|---|---|
author | Bapiraju Alla <balla@codeaurora.org> | Mon Nov 23 13:44:21 2020 +0530 |
committer | snandini <snandini@codeaurora.org> | Fri Feb 12 13:11:55 2021 -0800 |
tree | 871a5e377b01c2cc63ea5ca3c75da9f25d3b18aa | |
parent | 40c3372faed98043f4be9a71c1ea09b0f8e118bf [diff] |
qcacld-3.0: Add debug infra to detect reference leaks for dev_hold Currently there is no debug infra to detect the API that caused the reference leak for dev_hold. So, It very hard to debug/fix the reference leak issues. To address this, add debug_infra for dev_hold and dev_put calls in the driver. This change also fixes the few reference leaks with hdd_for_each_adapter_dev_held_safe. Change-Id: Icf1adf53c3bd11c715111494bac958c541ef87ea CRs-Fixed: 2825558