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

Commit 586a91cd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: sdhci: Avoid leaking kernel addresses"

parents 5ca0ecd8 3df5abdc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2985,12 +2985,12 @@ static void sdhci_show_adma_error(struct sdhci_host *host)

		if (host->flags & SDHCI_USE_ADMA_64BIT) {
			__le64 *dma = (__le64 *)(desc + 4);
			pr_info("%s: %p: DMA %llx, LEN 0x%04x, Attr=0x%02x\n",
			pr_info("%s: %pK: DMA %llx, LEN 0x%04x, Attr=0x%02x\n",
			    name, desc, (long long)le64_to_cpu(*dma),
			    le16_to_cpu(*len), attr);
		} else {
			__le32 *dma = (__le32 *)(desc + 4);
			pr_info("%s: %p: DMA 0x%08x, LEN 0x%04x, Attr=0x%02x\n",
			pr_info("%s: %pK: DMA 0x%08x, LEN 0x%04x, Attr=0x%02x\n",
			    name, desc, le32_to_cpu(*dma), le16_to_cpu(*len),
			    attr);
		}