Skip to contentSkip to conversation

pci-epf-test.c sparse warnings

DISCUSSION Bjorn Helgaas 1 participant 1 message Sep 8, 2020 PCI

lore
Share & tools
lore
#0 lore raw

FYI, got these warnings with "make C=2 drivers/pci/":

CHECK drivers/pci/endpoint/functions/pci-epf-test.c
drivers/pci/endpoint/functions/pci-epf-test.c:288:24: warning: incorrect type in argument 1 (different address spaces)
drivers/pci/endpoint/functions/pci-epf-test.c:288:24: expected void *to
drivers/pci/endpoint/functions/pci-epf-test.c:288:24: got void [noderef] __iomem *[assigned] dst_addr
drivers/pci/endpoint/functions/pci-epf-test.c:288:34: warning: incorrect type in argument 2 (different address spaces)
drivers/pci/endpoint/functions/pci-epf-test.c:288:34: expected void const *from
drivers/pci/endpoint/functions/pci-epf-test.c:288:34: got void [noderef] __iomem *[assigned] src_addr

This is on my "next" branch, but I don't think this file has changed since v5.9-rc1.

Bjorn