Hi Matthew, [auto build test WARNING on v4.3-rc6 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Matthew-Minter/PCI-Build-setup-irq-o-on-all-arches/20151023-131018 config: m68k-m5475evb_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All warnings (new ones prefixed by >>): arch/m68k/coldfire/pci.c: In function 'pcibios_root_bridge_prepare': >> arch/m68k/coldfire/pci.c:331:18: warning: assignment from incompatible pointer type bridge->map_irq = mcf_pci_map_irq; ^ vim +331 arch/m68k/coldfire/pci.c 315 rootbus = pci_scan_bus(0, &mcf_pci_ops, NULL); 316 if (!rootbus) 317 return -ENODEV; 318 319 rootbus->resource[0] = &mcf_pci_io; 320 rootbus->resource[1] = &mcf_pci_mem; 321 322 pci_bus_size_bridges(rootbus); 323 pci_bus_assign_resources(rootbus); 324 pci_bus_add_devices(rootbus); 325 return 0; 326 } 327 328 int pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) 329 { 330 bridge->swizzle_irq = pci_common_swizzle; > 331 bridge->map_irq = mcf_pci_map_irq; 332 return 0; 333 } 334 335 subsys_initcall(mcf_pci_init); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data