CC: [email protected] CC: [email protected] TO: Palmer Dabbelt <[email protected]> CC: Bjorn Helgaas <[email protected]> CC: Michal Simek <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 09162bc32c880a791c6c0668ce0745cf7958f576 commit: 191d6f91f283dfb007499bb8529d54c3ac434bd7 PCI: Remove PCI_MSI_IRQ_DOMAIN architecture whitelist date: 12 months ago :::::: branch date: 4 hours ago :::::: commit date: 12 months ago config: alpha-randconfig-s031-20201116 (attached as .config) compiler: alpha-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-107-gaf3512a6-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=191d6f91f283dfb007499bb8529d54c3ac434bd7 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 191d6f91f283dfb007499bb8529d54c3ac434bd7 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=alpha If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> "sparse warnings: (new ones prefixed by >>)" drivers/pci/controller/pcie-mediatek.c:404:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *address @@ got void [noderef] <asn:2> * @@ >> drivers/pci/controller/pcie-mediatek.c:404:40: sparse: expected void >> *address drivers/pci/controller/pcie-mediatek.c:404:40: sparse: got void [noderef] <asn:2> * drivers/pci/controller/pcie-mediatek.c:527:44: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *address @@ got void [noderef] <asn:2> * @@ drivers/pci/controller/pcie-mediatek.c:527:44: sparse: expected void *address drivers/pci/controller/pcie-mediatek.c:527:44: sparse: got void [noderef] <asn:2> * vim +404 drivers/pci/controller/pcie-mediatek.c b099631df160ec6 drivers/pci/host/pcie-mediatek.c Ryder Lee 2017-08-10 397 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 398 static void mtk_compose_msi_msg(struct irq_data *data, struct msi_msg *msg) 43e6409db64ddab drivers/pci/host/pcie-mediatek.c Honghui Zhang 2017-08-14 399 { 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 400 struct mtk_pcie_port *port = irq_data_get_irq_chip_data(data); 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 401 phys_addr_t addr; 43e6409db64ddab drivers/pci/host/pcie-mediatek.c Honghui Zhang 2017-08-14 402 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 403 /* MT2712/MT7622 only support 32-bit MSI addresses */ 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 @404 addr = virt_to_phys(port->base + PCIE_MSI_VECTOR); 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 405 msg->address_hi = 0; 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 406 msg->address_lo = lower_32_bits(addr); 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 407 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 408 msg->data = data->hwirq; 43e6409db64ddab drivers/pci/host/pcie-mediatek.c Honghui Zhang 2017-08-14 409 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 410 dev_dbg(port->pcie->dev, "msi#%d address_hi %#x address_lo %#x\n", 42fe2f91b4ebc07 drivers/pci/host/pcie-mediatek.c Honghui Zhang 2018-05-04 411 (int)data->hwirq, msg->address_hi, msg->address_lo); 43e6409db64ddab drivers/pci/host/pcie-mediatek.c Honghui Zhang 2017-08-14 412 } 43e6409db64ddab drivers/pci/host/pcie-mediatek.c Honghui Zhang 2017-08-14 413 :::::: The code at line 404 was first introduced by commit :::::: 42fe2f91b4ebc07c815fb334ea1262e6dc23bf77 PCI: mediatek: Implement chained IRQ handling setup :::::: TO: Honghui Zhang <[email protected]> :::::: CC: Lorenzo Pieralisi <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
