Skip to content

Commit

Permalink
sdio: fix IRQ diagnostic message
Browse files Browse the repository at this point in the history
If func is actually null we won't get much from sdio_func_id(func).

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
  • Loading branch information
Nicolas Pitre authored and Pierre Ossman committed Oct 6, 2007
1 parent d6f8dee commit 3e01e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/core/sdio_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 3e01e4b

Please sign in to comment.