From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932799AbaAaUqD (ORCPT ); Fri, 31 Jan 2014 15:46:03 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:50763 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932224AbaAaUqB (ORCPT ); Fri, 31 Jan 2014 15:46:01 -0500 Date: Fri, 31 Jan 2014 12:45:59 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: "Kamble, Nitin A" cc: Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH] irq: fix a Kconfig dependency In-Reply-To: <52EBE112.5010203@intel.com> Message-ID: References: <1391129410-54548-1-git-send-email-nitin.a.kamble@intel.com> <1391129410-54548-2-git-send-email-nitin.a.kamble@intel.com> <52EBE112.5010203@intel.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="531381512-1829940620-1391201129=:27318" Content-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --531381512-1829940620-1391201129=:27318 Content-Type: TEXT/PLAIN; CHARSET=UTF-8 Content-Transfer-Encoding: 8BIT Content-ID: On Fri, 31 Jan 2014, Kamble, Nitin A wrote: > > So, if this dependency is reasonable, it begs the question of why we have > > CONFIG_GENERIC_IRQ_CHIP at all and shouldn't just make generic-chip.c > > depend on CONFIG_IRQ_DOMAIN. > Looking at the code there are cases where IRQ_DOMAIN functionality is used > without using the GENERIC_IRQ_CHIP. So making generic-chip.c depend > on CONFIG_IRQ_DOMAIN in the makefile will reduce the flexibility of using > these config options separately. > Acked-by: David Rientjes Although the changelog should be updated since I get a couple problems when trying to enable CONFIG_GENERIC_IRQ_CHIP without CONFIG_IRQ_DOMAIN on Linus's latest tree: kernel/irq/generic-chip.c:400:11: error: ‘irq_domain_xlate_onetwocell’ undeclared here (not in a function) kernel/irq/generic-chip.c: In function ‘irq_gc_get_irq_data’: kernel/irq/generic-chip.c:522:2: error: implicit declaration of function ‘irq_find_mapping’ [-Werror=implicit-function-declaration] --531381512-1829940620-1391201129=:27318--