commit | 34b9434cd0d425330a0467e767f8d047ef62964d | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Jan 15 13:05:49 2021 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Mon Jan 25 15:52:48 2021 +0200 |
tree | 21986fc55d7994cb768d1297dc5216a8d09ea9b4 | |
parent | 5c56d862c749669d45c256f581eac4244be00d4d [diff] |
iwlwifi: pcie: avoid potential PNVM leaks If we erroneously try to set the PNVM data again after it has already been set, we could leak the old DMA memory. Avoid that and warn, we shouldn't be doing this. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Fixes: 6972592850c0 ("iwlwifi: read and parse PNVM file") Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/iwlwifi.20210115130252.929c2d680429.I086b9490e6c005f3bcaa881b617e9f61908160f3@changeid