From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751719AbdCNNvQ (ORCPT ); Tue, 14 Mar 2017 09:51:16 -0400 Received: from foss.arm.com ([217.140.101.70]:33754 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbdCNNvN (ORCPT ); Tue, 14 Mar 2017 09:51:13 -0400 Subject: Re: [RESEND PATCH] irqchip: mvebu-odmi: select GENERIC_MSI_IRQ_DOMAIN To: Arnd Bergmann , Thomas Gleixner , Jason Cooper References: <20170314125427.696234-1-arnd@arndb.de> Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org From: Marc Zyngier Organization: ARM Ltd Message-ID: <9d1ace6f-1ea6-796e-9ae1-7df08012bf5d@arm.com> Date: Tue, 14 Mar 2017 13:51:04 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170314125427.696234-1-arnd@arndb.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/03/17 12:54, Arnd Bergmann wrote: > This driver uses the MSI domain but has no strict dependency on PCI_MSI, so we > may run into a build failure when CONFIG_GENERIC_MSI_IRQ_DOMAIN is disabled: > > drivers/irqchip/irq-mvebu-odmi.c:152:15: error: variable 'odmi_msi_ops' has initializer but incomplete type > static struct msi_domain_ops odmi_msi_ops = { > ^~~~~~~~~~~~~~ > drivers/irqchip/irq-mvebu-odmi.c:155:15: error: variable 'odmi_msi_domain_info' has initializer but incomplete type > static struct msi_domain_info odmi_msi_domain_info = { > ^~~~~~~~~~~~~~~ > drivers/irqchip/irq-mvebu-odmi.c:156:3: error: 'struct msi_domain_info' has no member named 'flags' > .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS), > ^~~~~ > drivers/irqchip/irq-mvebu-odmi.c:156:12: error: 'MSI_FLAG_USE_DEF_DOM_OPS' undeclared here (not in a function) > .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS), > ^~~~~~~~~~~~~~~~~~~~~~~~ > drivers/irqchip/irq-mvebu-odmi.c:156:39: error: 'MSI_FLAG_USE_DEF_CHIP_OPS' undeclared here (not in a function); did you mean 'MSI_FLAG_USE_DEF_DOM_OPS'? > > Selecting the option from this driver seems to solve this nicely, though I could > not find any other instance of this in irqchip drivers. > > Signed-off-by: Arnd Bergmann > Acked-by: Thomas Petazzoni > --- > Originally sent on Feb 14, but for some reason didn't make it into v4.11-rc2 > and is still needed to build some randconfig configurations. Ah, my bad. I had it stashed, and must have messed up my branch at some point. I'm queuing it now and I'll send a PR to Thomas with whatever is left by the end of the week. Thanks, M. -- Jazz is not dead. It just smells funny...