Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750877AbdCNMrk (ORCPT ); Tue, 14 Mar 2017 08:47:40 -0400 Received: from mail-ot0-f196.google.com ([74.125.82.196]:36427 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbdCNMri (ORCPT ); Tue, 14 Mar 2017 08:47:38 -0400 MIME-Version: 1.0 In-Reply-To: <87wpbsuo4x.fsf@concordia.ellerman.id.au> References: <1473501690-11987-1-git-send-email-mpe@ellerman.id.au> <87wpbsuo4x.fsf@concordia.ellerman.id.au> From: Arnd Bergmann Date: Tue, 14 Mar 2017 13:47:37 +0100 X-Google-Sender-Auth: pKlESS5dpKhOhWzxMF6Vr7urNPo Message-ID: Subject: Re: [PATCH] drivers/pcmcia: NO_IRQ removal for electra_cf.c To: Michael Ellerman Cc: linux-pcmcia@lists.infradead.org, linuxppc-dev@ozlabs.org, Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3022 Lines: 64 On Tue, Mar 14, 2017 at 11:51 AM, Michael Ellerman wrote: > Michael Ellerman writes: > >> We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it >> from electra_cf.c which is a powerpc-only driver. >> >> Signed-off-by: Michael Ellerman >> --- >> drivers/pcmcia/electra_cf.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Ping anyone? > > Or should I merge this via the powerpc tree? That's what I would recommend for a powerpc specific pcmcia driver, yes. Looking at the bigger picture of powerpc drivers using NO_IRQ, I also see these others: drivers/ata/pata_mpc52xx.c: if (ata_irq == NO_IRQ) { drivers/ata/sata_dwc_460ex.c:#ifndef NO_IRQ drivers/ata/sata_dwc_460ex.c:#define NO_IRQ 0 drivers/ata/sata_dwc_460ex.c: if (hsdev->dma->irq == NO_IRQ) { drivers/ata/sata_dwc_460ex.c: if (irq == NO_IRQ) { drivers/iommu/fsl_pamu.c: if (irq == NO_IRQ) { drivers/iommu/fsl_pamu.c: if (irq != NO_IRQ) drivers/media/platform/fsl-viu.c: if (viu_irq == NO_IRQ) { drivers/mtd/nand/mpc5121_nfc.c: if (prv->irq == NO_IRQ) { drivers/pcmcia/electra_cf.c: cf->irq = NO_IRQ; drivers/pcmcia/electra_cf.c: if (cf->irq != NO_IRQ) drivers/soc/fsl/qe/qe_ic.c:/* Return an interrupt vector or NO_IRQ if no interrupt is pending. */ drivers/soc/fsl/qe/qe_ic.c: return NO_IRQ; drivers/soc/fsl/qe/qe_ic.c:/* Return an interrupt vector or NO_IRQ if no interrupt is pending. */ drivers/soc/fsl/qe/qe_ic.c: return NO_IRQ; drivers/soc/fsl/qe/qe_ic.c: if (qe_ic->virq_low == NO_IRQ) { drivers/soc/fsl/qe/qe_ic.c: if (qe_ic->virq_high != NO_IRQ && drivers/spi/spi-mpc52xx.c: if (status && (irq != NO_IRQ)) drivers/tty/ehv_bytechan.c: if (stdout_irq == NO_IRQ) { drivers/tty/ehv_bytechan.c: if ((bc->rx_irq == NO_IRQ) || (bc->tx_irq == NO_IRQ)) { drivers/tty/serial/cpm_uart/cpm_uart_core.c: if (pinfo->port.irq == NO_IRQ) { drivers/uio/uio_fsl_elbc_gpcm.c: if (irq != NO_IRQ) { drivers/uio/uio_fsl_elbc_gpcm.c: irq = NO_IRQ; drivers/uio/uio_fsl_elbc_gpcm.c: irq != NO_IRQ ? irq : -1); drivers/usb/host/ehci-grlib.c: if (irq == NO_IRQ) { drivers/usb/host/ehci-ppc-of.c: if (irq == NO_IRQ) { drivers/usb/host/fhci-hcd.c: if (usb_irq == NO_IRQ) { drivers/usb/host/ohci-ppc-of.c: if (irq == NO_IRQ) { drivers/usb/host/uhci-grlib.c: if (irq == NO_IRQ) { drivers/video/fbdev/mb862xx/mb862xxfbdrv.c: if (par->irq == NO_IRQ) { drivers/virt/fsl_hypervisor.c: if (!handle || (irq == NO_IRQ)) { include/soc/fsl/qe/qe_ic.h: if (cascade_irq != NO_IRQ) include/soc/fsl/qe/qe_ic.h: if (cascade_irq != NO_IRQ) include/soc/fsl/qe/qe_ic.h: if (cascade_irq != NO_IRQ) include/soc/fsl/qe/qe_ic.h: if (cascade_irq != NO_IRQ) include/soc/fsl/qe/qe_ic.h: if (cascade_irq == NO_IRQ) include/soc/fsl/qe/qe_ic.h: if (cascade_irq != NO_IRQ) Did you have other pending patches for those? Arnd