Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e01e4bc authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Pierre Ossman
Browse files

sdio: fix IRQ diagnostic message



If func is actually null we won't get much from sdio_func_id(func).

Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent d6f8deec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;