• Hou Zhiqiang's avatar
    PCI: mobiveil: Fix sparse different address space warnings · 92a17e5c
    Hou Zhiqiang authored
    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: default avatarHou Zhiqiang <Zhiqiang.Hou@nxp.com>
    Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Reported-by: default avatarkbuild test robot <lkp@intel.com>
    92a17e5c
pcie-mobiveil.c 5.72 KB