From mboxrd@z Thu Jan 1 00:00:00 1970 From: majun258@huawei.com (majun (F)) Date: Wed, 21 Oct 2015 13:57:02 +0800 Subject: [PATCH RESEND v6 3/4] irqchip:create irq domain for each mbigen device In-Reply-To: <201510210208.Hkd8XMxI%fengguang.wu@intel.com> References: <201510210208.Hkd8XMxI%fengguang.wu@intel.com> Message-ID: <5627292E.6050708@huawei.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org ? 2015/10/21 2:43, kbuild test robot ??: > Hi Ma, > > [auto build test ERROR on tip/irq/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base] > > url: https://github.com/0day-ci/linux/commits/MaJun/irqchip-support-mbigen-interrupt-controller/20151020-202450 > config: arm64-allyesconfig (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=arm64 > > All error/warnings (new ones prefixed by >>): > > drivers/irqchip/irq-mbigen.c:84:14: error: 'mbigen_eoi_irq' undeclared here (not in a function) > .irq_eoi = mbigen_eoi_irq, > ^ > drivers/irqchip/irq-mbigen.c:85:19: error: 'mbigen_set_type' undeclared here (not in a function) > .irq_set_type = mbigen_set_type, > ^ I'll fix this error in v7 > drivers/irqchip/irq-mbigen.c: In function 'mbigen_irq_domain_alloc': >>> drivers/irqchip/irq-mbigen.c:150:2: error: implicit declaration of function 'platform_msi_domain_alloc' [-Werror=implicit-function-declaration] > err = platform_msi_domain_alloc(domain, virq, nr_irqs); > ^ >>> drivers/irqchip/irq-mbigen.c:159:2: error: implicit declaration of function 'platform_msi_get_host_data' [-Werror=implicit-function-declaration] > mgn_chip = platform_msi_get_host_data(domain); > ^ >>> drivers/irqchip/irq-mbigen.c:159:11: warning: assignment makes pointer from integer without a cast > mgn_chip = platform_msi_get_host_data(domain); > ^ > drivers/irqchip/irq-mbigen.c: In function 'mbigen_device_probe': >>> drivers/irqchip/irq-mbigen.c:202:2: error: implicit declaration of function 'platform_msi_create_device_domain' [-Werror=implicit-function-declaration] > domain = platform_msi_create_device_domain(&pdev->dev, num_msis, > ^ > drivers/irqchip/irq-mbigen.c:202:9: warning: assignment makes pointer from integer without a cast > domain = platform_msi_create_device_domain(&pdev->dev, num_msis, My patch based on Marc's patch https://lkml.org/lkml/2015/10/15/545 So, please apply this patch first. Thanks! Ma Jun From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286AbbJUF5T (ORCPT ); Wed, 21 Oct 2015 01:57:19 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:57825 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751912AbbJUF5S (ORCPT ); Wed, 21 Oct 2015 01:57:18 -0400 Subject: Re: [PATCH RESEND v6 3/4] irqchip:create irq domain for each mbigen device To: kbuild test robot References: <201510210208.Hkd8XMxI%fengguang.wu@intel.com> CC: , , , , , , , , , , , , , , , , , , , , , , , From: "majun (F)" Message-ID: <5627292E.6050708@huawei.com> Date: Wed, 21 Oct 2015 13:57:02 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <201510210208.Hkd8XMxI%fengguang.wu@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.235.245] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2015/10/21 2:43, kbuild test robot 写道: > Hi Ma, > > [auto build test ERROR on tip/irq/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base] > > url: https://github.com/0day-ci/linux/commits/MaJun/irqchip-support-mbigen-interrupt-controller/20151020-202450 > config: arm64-allyesconfig (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=arm64 > > All error/warnings (new ones prefixed by >>): > > drivers/irqchip/irq-mbigen.c:84:14: error: 'mbigen_eoi_irq' undeclared here (not in a function) > .irq_eoi = mbigen_eoi_irq, > ^ > drivers/irqchip/irq-mbigen.c:85:19: error: 'mbigen_set_type' undeclared here (not in a function) > .irq_set_type = mbigen_set_type, > ^ I'll fix this error in v7 > drivers/irqchip/irq-mbigen.c: In function 'mbigen_irq_domain_alloc': >>> drivers/irqchip/irq-mbigen.c:150:2: error: implicit declaration of function 'platform_msi_domain_alloc' [-Werror=implicit-function-declaration] > err = platform_msi_domain_alloc(domain, virq, nr_irqs); > ^ >>> drivers/irqchip/irq-mbigen.c:159:2: error: implicit declaration of function 'platform_msi_get_host_data' [-Werror=implicit-function-declaration] > mgn_chip = platform_msi_get_host_data(domain); > ^ >>> drivers/irqchip/irq-mbigen.c:159:11: warning: assignment makes pointer from integer without a cast > mgn_chip = platform_msi_get_host_data(domain); > ^ > drivers/irqchip/irq-mbigen.c: In function 'mbigen_device_probe': >>> drivers/irqchip/irq-mbigen.c:202:2: error: implicit declaration of function 'platform_msi_create_device_domain' [-Werror=implicit-function-declaration] > domain = platform_msi_create_device_domain(&pdev->dev, num_msis, > ^ > drivers/irqchip/irq-mbigen.c:202:9: warning: assignment makes pointer from integer without a cast > domain = platform_msi_create_device_domain(&pdev->dev, num_msis, My patch based on Marc's patch https://lkml.org/lkml/2015/10/15/545 So, please apply this patch first. Thanks! Ma Jun