提交 3e01e4bc 编写于 作者: N Nicolas Pitre 提交者: Pierre Ossman

sdio: fix IRQ diagnostic message

If func is actually null we won't get much from sdio_func_id(func).
Signed-off-by: NNicolas Pitre <nico@marvell.com>
Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
上级 d6f8deec
......@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册