diff options
author | 2024-12-27 08:08:41 -0800 | |
---|---|---|
committer | 2025-01-21 09:44:13 -0600 | |
commit | b1b1f4b12969130c0a6ec0cf0299460cb01e799c (patch) | |
tree | 4d3ed7a6b923aa9750fc50fb1e62f99639a2a397 /scripts/lib/kdoc/kdoc_files.py | |
parent | Linux 6.13-rc1 (diff) | |
download | linux-rng-b1b1f4b12969130c0a6ec0cf0299460cb01e799c.tar.xz linux-rng-b1b1f4b12969130c0a6ec0cf0299460cb01e799c.zip |
PCI: endpoint: pci-epf-test: Set dma_chan_rx pointer to NULL on error
If dma_chan_tx allocation fails, set dma_chan_rx to NULL after it is
freed.
Link: https://lore.kernel.org/r/20241227160841.92382-1-khalfella@gmail.com
Fixes: 8353813c88ef ("PCI: endpoint: Enable DMA tests for endpoints with DMA capabilities")
Signed-off-by: Mohamed Khalfella <khalfella@gmail.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions