2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 17:43:56 +08:00
linux-next/drivers/pci/controller/mobiveil
Hou Zhiqiang 92a17e5c79 PCI: mobiveil: Fix sparse different address space warnings
Fix the sparse warnings below:

drivers/pci/controller/mobiveil/pcie-mobiveil.c:44:49: warning: incorrect type in return expression (different address spaces)
drivers/pci/controller/mobiveil/pcie-mobiveil.c:44:49:    expected void *
drivers/pci/controller/mobiveil/pcie-mobiveil.c:44:49:    got void [noderef] <asn:2> *
drivers/pci/controller/mobiveil/pcie-mobiveil.c:48:41: warning: incorrect type in return expression (different address spaces)
drivers/pci/controller/mobiveil/pcie-mobiveil.c:48:41:    expected void *
drivers/pci/controller/mobiveil/pcie-mobiveil.c:48:41:    got void [noderef] <asn:2> *
drivers/pci/controller/mobiveil/pcie-mobiveil.c:106:34: warning: incorrect type in argument 1 (different address spaces)
drivers/pci/controller/mobiveil/pcie-mobiveil.c:106:34:    expected void [noderef] <asn:2> *addr
drivers/pci/controller/mobiveil/pcie-mobiveil.c:106:34:    got void *[assigned] addr
drivers/pci/controller/mobiveil/pcie-mobiveil.c:121:35: warning: incorrect type in argument 1 (different address spaces)
drivers/pci/controller/mobiveil/pcie-mobiveil.c:121:35:    expected void [noderef] <asn:2> *addr
drivers/pci/controller/mobiveil/pcie-mobiveil.c:121:35:    got void *[assigned] addr

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reported-by: kbuild test robot <lkp@intel.com>
2020-03-17 15:38:20 +00:00
..
Kconfig PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs 2020-02-21 11:54:12 +00:00
Makefile PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs 2020-02-21 11:54:12 +00:00
pcie-layerscape-gen4.c PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs 2020-02-21 11:54:12 +00:00
pcie-mobiveil-host.c PCI: mobiveil: Add Header Type field check 2020-02-21 11:53:22 +00:00
pcie-mobiveil-plat.c
pcie-mobiveil.c PCI: mobiveil: Fix sparse different address space warnings 2020-03-17 15:38:20 +00:00
pcie-mobiveil.h PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs 2020-02-21 11:54:12 +00:00