From 389f24aa525f2fd0d386858bfaa5d46c5a7c6a3f Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 5 Feb 2004 16:50:06 -0800 Subject: [PATCH] [PATCH] oss/ad1889: correct printk of dma_addr_t From: "Randy.Dunlap" fix dma_addr_t type error with CONFIG_HIGHMEM64G=y --- sound/oss/ad1889.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/oss/ad1889.c b/sound/oss/ad1889.c index f37ee7a445559..98515fee59b8e 100644 --- a/sound/oss/ad1889.c +++ b/sound/oss/ad1889.c @@ -354,9 +354,9 @@ int ad1889_read_proc (char *page, char **start, off_t off, for (i = 0; i < AD_MAX_STATES; i++) { out += sprintf(out, "DMA status for %s:\n", (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.dma_handle); + (unsigned long long)dev->state[i].dmabuf.dma_handle); out += sprintf(out, "\tread ptr: offset %u\n", (unsigned int)dev->state[i].dmabuf.rd_ptr); -- 2.53.0