diff options
author | 2022-03-09 20:01:04 +0800 | |
---|---|---|
committer | 2022-04-08 15:42:12 +0100 | |
commit | 88557685cd72cf0db686a4ebff3fad4365cb6071 (patch) | |
tree | 446b1553a32693fda07037316c3aa09deb2af302 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.18-rc1 (diff) | |
download | linux-dev-88557685cd72cf0db686a4ebff3fad4365cb6071.tar.xz linux-dev-88557685cd72cf0db686a4ebff3fad4365cb6071.zip |
PCI: dwc: Fix setting error return on MSI DMA mapping failure
When dma_mapping_error() returns error because of no enough memory,
but dw_pcie_host_init() returns success, which will mislead the callers.
Link: https://lore.kernel.org/r/30170911-0e2f-98ce-9266-70465b9073e5@huawei.com
Fixes: 07940c369a6b ("PCI: dwc: Fix MSI page leakage in suspend/resume")
Signed-off-by: Jianrong Zhang <zhangjianrong5@huawei.com>
Signed-off-by: Jiantao Zhang <water.zhangjiantao@huawei.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions