tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel head: 05e51a4da2af5f68c911adcb888f103460a2e5b3 commit: d228375b0504c3bb955281e4309e292d78f5e9e7 [45/47] pinctrl: amd: Add support for additional GPIO config: i386-randconfig-i1-201645 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: git checkout d228375b0504c3bb955281e4309e292d78f5e9e7 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/pinctrl/pinctrl-amd.c: In function 'amd_gpio_probe': >> drivers/pinctrl/pinctrl-amd.c:821:11: warning: passing argument 3 of 'devm_request_irq' from incompatible pointer type [enabled by default] IRQF_SHARED, dev_name(&pdev->dev), gpio_dev); ^ In file included from drivers/pinctrl/pinctrl-amd.c:29:0: include/linux/interrupt.h:170:1: note: expected 'irq_handler_t' but argument is of type 'void (*)(struct irq_desc *)' devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler, ^ vim +/devm_request_irq +821 drivers/pinctrl/pinctrl-amd.c 805 &amd_gpio_irqchip, 806 0, 807 handle_simple_irq, 808 IRQ_TYPE_NONE); 809 if (ret) { 810 dev_err(&pdev->dev, "could not add irqchip\n"); 811 ret = -ENODEV; 812 goto out2; 813 } 814 815 gpiochip_set_chained_irqchip(&gpio_dev->gc, 816 &amd_gpio_irqchip, 817 irq_base, 818 NULL); 819 820 ret = devm_request_irq(&pdev->dev, irq_base, amd_gpio_irq_handler, > 821 IRQF_SHARED, dev_name(&pdev->dev), gpio_dev); 822 if (ret) 823 goto out2; 824 825 platform_set_drvdata(pdev, gpio_dev); 826 827 dev_dbg(&pdev->dev, "amd gpio driver loaded\n"); 828 return ret; 829 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip