Re: [PATCH] PCI: mvebu: mvebu_pcie_map_registers __iomem fix

2019-10-17 Thread Lorenzo Pieralisi
On Tue, Oct 15, 2019 at 05:11:48PM +0100, Ben Dooks (Codethink) wrote: > Fix the return type of mvebu_pcie_map_registers in the > error path to have __iomem on it. Fixes the following > sparse warning: > > drivers/pci/controller/pci-mvebu.c:716:31: warning: incorrect type in return > expression

[PATCH] PCI: mvebu: mvebu_pcie_map_registers __iomem fix

2019-10-15 Thread Ben Dooks (Codethink)
Fix the return type of mvebu_pcie_map_registers in the error path to have __iomem on it. Fixes the following sparse warning: drivers/pci/controller/pci-mvebu.c:716:31: warning: incorrect type in return expression (different address spaces) drivers/pci/controller/pci-mvebu.c:716:31:expected