Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp431863ybl; Mon, 12 Aug 2019 19:31:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLmVgMvk4AkWNmvaoQyNxXPG+qHWMu+nfX7PdtjM2D53YoJOLXPevJCJblMzIe9XbGg/UX X-Received: by 2002:aa7:9719:: with SMTP id a25mr12467927pfg.2.1565663517067; Mon, 12 Aug 2019 19:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565663517; cv=none; d=google.com; s=arc-20160816; b=bt9XBf74b5wApa7TV0YszWgWTgB+M6fCeOC4tEd1UHWQL1cqlFGG3FFZ62q6AATa+u 2xn/R8IexY4HMTDzjZSe+BeJIitboZrqsK6Y5+VHmrs4pWcIYufGH+fXrxhlSDCd5DDd aNcbtXCxmXPq/89u6jWDcazwcxNCGfgsAmhxkrZ1yraB+npVsV+cH+ZAIR43eiyiDfuL aQAaaP9ZD+eIpdEtRre5+GiCx1YddMBHdcyLes9p6QHEo0cpiG/2YpsW+EeVsOm+OE41 Qjaqy2KcxUX3mCoNHLpWn08/Uj3/wpp7Cc8hKkKxE9MrNzAj/TD0jb+vLH8ldtgB4Pp1 1F9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ZEsM5ekVvHM31oEcEYSb0fHsjLCs9aUg6/iC8UgbaS4=; b=EE9IF/SpVgoQZ1feEzxcD+MQYte+ByFn3CEsAk7oWsOufu/iqg8xuP2TL8Vliq2Agv xvvm25KQMXgyqf80FRbWfz5inDu7hubbuCNrjkFL7543zlrEZstbhNxB1dshyhHF1QYv qN+GbLpGqryY7+1YND7bLrF/6EAUhhy2D8x4VKNohy7EkrsitmEVEkUq8CWfNIgLRZKr a7fNNgQ1CsOk7vrKaH6XJ1xKKFFNmFJmRO6lD+jr2v8egCKiHWtHevvt6ZB9NauPLs9x Y4vszD5GhJFAVtZMQguU+/jwoWXFp5b/EswCzaqfkLRU+tVnIN/CVs59akRQ5Q3D71F8 RIMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t185si61226529pgd.596.2019.08.12.19.31.41; Mon, 12 Aug 2019 19:31:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726820AbfHMCNc (ORCPT + 99 others); Mon, 12 Aug 2019 22:13:32 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:42234 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726488AbfHMCNc (ORCPT ); Mon, 12 Aug 2019 22:13:32 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A4171CD0CBA6D6613AF4; Tue, 13 Aug 2019 09:57:01 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Tue, 13 Aug 2019 09:56:50 +0800 From: YueHaibing To: , , , , , CC: , , , YueHaibing Subject: [PATCH] irqchip/irq-ingenic-tcu: Fix COMPILE_TEST building Date: Tue, 13 Aug 2019 09:56:02 +0800 Message-ID: <20190813015602.30576-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While do COMPILE_TEST building, if GENERIC_IRQ_CHIP is not selected, it fails: drivers/irqchip/irq-ingenic-tcu.o: In function `ingenic_tcu_intc_cascade': irq-ingenic-tcu.c:(.text+0x13f): undefined reference to `irq_get_domain_generic_chip' drivers/irqchip/irq-ingenic-tcu.o: In function `ingenic_tcu_irq_init': irq-ingenic-tcu.c:(.init.text+0x97): undefined reference to `irq_generic_chip_ops' irq-ingenic-tcu.c:(.init.text+0xdd): undefined reference to `__irq_alloc_domain_generic_chips' irq-ingenic-tcu.c:(.init.text+0x10b): undefined reference to `irq_get_domain_generic_chip' select GENERIC_IRQ_CHIP to fix this. Reported-by: Hulk Robot Fixes: 9536eba03ec7 ("irqchip: Add irq-ingenic-tcu driver") Signed-off-by: YueHaibing --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 3c8308e..ccbb897 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -320,6 +320,7 @@ config INGENIC_TCU_IRQ default MACH_INGENIC depends on MIPS || COMPILE_TEST select MFD_SYSCON + select GENERIC_IRQ_CHIP help Support for interrupts in the Timer/Counter Unit (TCU) of the Ingenic JZ47xx SoCs. -- 2.7.4