diff options
author | Thadeu Lima de Souza Cascardo <cascardo@igalia.com> | 2024-12-06 14:37:13 -0300 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-12-12 10:35:20 +0800 |
commit | b59b86c5d08be7d761c04affcbcec8184738c200 (patch) | |
tree | 755a783a781b2018ac7d3f47ba81a49a3e004cab /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e7ceefbfd8d447abc8aca8ab993a942803522c06 (diff) |
wifi: rtlwifi: pci: wait for firmware loading before releasing memory
At probe error path, the firmware loading work may have already been
queued. In such a case, it will try to access memory allocated by the probe
function, which is about to be released. In such paths, wait for the
firmware worker to finish before releasing memory.
Fixes: 3d86b93064c7 ("rtlwifi: Fix PCI probe error path orphaned memory")
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241206173713.3222187-5-cascardo@igalia.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions