Commits
Kishon Vijay Abraham I committed 68e0294b78e
PCI: cadence: Explicitly cast pointer returned by phys_to_virt() to __iomem Cadence PCIe EP driver gets MSI-X table address (physical) from inbound ATU and uses phys_to_virt() to get the virtual address (returns void *) and store it in msix_tbl variable. However msi_tbl is declared with "void __iomem *" since it has to be used with readl() to get the MSI message address. This results in the following sparse warning: sparse warnings: (new ones prefixed by >>) pcie-cadence-ep.c:558:18: sparse: sparse: incorrect type in assignment (different address spaces) pcie-cadence-ep.c:558:18: sparse: expected void [noderef] <asn:2> *msix_tbl pcie-cadence-ep.c:558:18: sparse: got void * Explicitly cast pointer returned by phys_to_virt() to __iomem to get rid of the sparse warning. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>