tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git ib-mtk head: 6561859b067fcd6c5b89fd625b2c7dc324b706b5 commit: e78d57b2f87c053c224a612121fc842ebe511ad2 [2/22] pinctrl: mediatek: add pinctrl-moore that implements the generic pinctrl dt-bindings config: openrisc-allmodconfig (attached as .config) compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental) reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout e78d57b2f87c053c224a612121fc842ebe511ad2 # save the attached .config to linux build tree make.cross ARCH=openrisc Note: the pinctrl/ib-mtk HEAD 6561859b067fcd6c5b89fd625b2c7dc324b706b5 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): drivers/pinctrl/mediatek/pinctrl-moore.c: In function 'mtk_build_eint': >> drivers/pinctrl/mediatek/pinctrl-moore.c:601:18: error: implicit declaration of function 'irq_of_parse_and_map' [-Werror=implicit-function-declaration] hw->eint->irq = irq_of_parse_and_map(np, 0); ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/irq_of_parse_and_map +601 drivers/pinctrl/mediatek/pinctrl-moore.c 574 575 static int 576 mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev) 577 { 578 struct device_node *np = pdev->dev.of_node; 579 struct resource *res; 580 581 if (!IS_ENABLED(CONFIG_EINT_MTK)) 582 return 0; 583 584 if (!of_property_read_bool(np, "interrupt-controller")) 585 return -ENODEV; 586 587 hw->eint = devm_kzalloc(hw->dev, sizeof(*hw->eint), GFP_KERNEL); 588 if (!hw->eint) 589 return -ENOMEM; 590 591 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "eint"); 592 if (!res) { 593 dev_err(&pdev->dev, "Unable to get eint resource\n"); 594 return -ENODEV; 595 } 596 597 hw->eint->base = devm_ioremap_resource(&pdev->dev, res); 598 if (IS_ERR(hw->eint->base)) 599 return PTR_ERR(hw->eint->base); 600 > 601 hw->eint->irq = irq_of_parse_and_map(np, 0); 602 if (!hw->eint->irq) 603 return -EINVAL; 604 605 hw->eint->dev = &pdev->dev; 606 hw->eint->hw = hw->soc->eint_hw; 607 hw->eint->pctl = hw; 608 hw->eint->gpio_xlate = &mtk_eint_xt; 609 610 return mtk_eint_do_init(hw->eint); 611 } 612 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip