From: Nicolas Pitre Date: Wed, 3 Oct 2007 19:32:10 +0000 (-0400) Subject: sdio: fix IRQ diagnostic message X-Git-Tag: v2.6.24-rc1~1464^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3e01e4bcdd56209e70c39293e0c4c355d09364b8;p=linux-2.6-omap-h63xx.git sdio: fix IRQ diagnostic message If func is actually null we won't get much from sdio_func_id(func). Signed-off-by: Nicolas Pitre Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index f78ffeefed5..e7865059e12 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c @@ -44,7 +44,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card) if (!func) { printk(KERN_WARNING "%s: pending IRQ for " "non-existant function\n", - sdio_func_id(func)); + mmc_card_id(card)); } else if (func->irq_handler) { func->irq_handler(func); count++;