On Wed, Mar 09, 2022 at 08:01:04PM +0800, Jiantao Zhang wrote: > When dma_mapping_error() returns error because of no enough memory, > but dw_pcie_host_init() returns success, which will mislead the callers. > > Fixes: 07940c369a6b ("PCI: dwc: Fix MSI page leakage in suspend/resume") > Signed-off-by: Jianrong Zhang <zhangjianrong5@xxxxxxxxxx> > Signed-off-by: Jiantao Zhang <water.zhangjiantao@xxxxxxxxxx> > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Rob Herring <robh@xxxxxxxxxx>