Re: [PATCH] PCI: xgene: fix a mistake about cfg address

From: Lorenzo Pieralisi
Date: Mon Mar 29 2021 - 05:33:24 EST


On Sun, 28 Mar 2021 22:41:18 +0800, Dejin Zheng wrote:
> It has a wrong modification to the xgene driver by the commit
> e2dcd20b1645a. it use devm_platform_ioremap_resource_byname() to
> simplify codes and remove the res variable, But the following code
> needs to use this res variable, So after this commit, the port->cfg_addr
> will get a wrong address. Now, revert it.

Applied to pci/xgene, thanks!

[1/1] PCI: xgene: Fix cfg resource mapping
https://git.kernel.org/lpieralisi/pci/c/f243b619b4

Thanks,
Lorenzo