소스 검색

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 <nico@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Nicolas Pitre 18 년 전
부모
커밋
3e01e4bcdd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/mmc/core/sdio_irq.c

+ 1 - 1
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++;