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

Commit 3850cd39 authored by Bao D. Nguyen's avatar Bao D. Nguyen
Browse files

mmc: Fix compile warnings



Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled:
drivers/mmc/host/sdhci.c:4755:
  format '%s' expects a matching 'char *' argument [-Werror=format=]
  pr_info("%s: SDHCI controller on %s [%s] using %s in %s mode\n",

Change-Id: I7942b72ac9cbac240ff23b11dcbc3160bc112413
Signed-off-by: default avatarBao D. Nguyen <nguyenb@codeaurora.org>
parent 0a48238d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4756,7 +4756,7 @@ int __sdhci_add_host(struct sdhci_host *host)
	mmc_hostname(mmc), host->hw_name, dev_name(mmc_dev(mmc)),
		(host->flags & SDHCI_USE_ADMA) ?
		((host->flags & SDHCI_USE_64_BIT_DMA) ?
		"64-bit ADMA" : "32-bit ADMA") :
		"64-bit ADMA" : "32-bit ADMA") : "",
		((host->flags & SDHCI_USE_SDMA) ? "DMA" : "PIO"));

	sdhci_enable_card_detection(host);