Commit 389f24aa authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] oss/ad1889: correct printk of dma_addr_t

From: "Randy.Dunlap" <rddunlap@osdl.org>

fix dma_addr_t type error with CONFIG_HIGHMEM64G=y
parent 82243d15
...@@ -354,9 +354,9 @@ int ad1889_read_proc (char *page, char **start, off_t off, ...@@ -354,9 +354,9 @@ int ad1889_read_proc (char *page, char **start, off_t off,
for (i = 0; i < AD_MAX_STATES; i++) { for (i = 0; i < AD_MAX_STATES; i++) {
out += sprintf(out, "DMA status for %s:\n", out += sprintf(out, "DMA status for %s:\n",
(i == AD_WAV_STATE ? "WAV" : "ADC")); (i == AD_WAV_STATE ? "WAV" : "ADC"));
out += sprintf(out, "\t\t0x%p (IOVA: 0x%u)\n", out += sprintf(out, "\t\t0x%p (IOVA: 0x%llu)\n",
dev->state[i].dmabuf.rawbuf, dev->state[i].dmabuf.rawbuf,
dev->state[i].dmabuf.dma_handle); (unsigned long long)dev->state[i].dmabuf.dma_handle);
out += sprintf(out, "\tread ptr: offset %u\n", out += sprintf(out, "\tread ptr: offset %u\n",
(unsigned int)dev->state[i].dmabuf.rd_ptr); (unsigned int)dev->state[i].dmabuf.rd_ptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment