lkml.org 
[lkml]   [2004]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] oss/ad1889: correct printk of dma_addr_t

description: fix dma_addr_t type error with CONFIG_HIGHMEM64G=y;
product_versions: linux-262-rc3

diffstat:=
sound/oss/ad1889.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -Naurp ./sound/oss/ad1889.c~dmatype ./sound/oss/ad1889.c
--- ./sound/oss/ad1889.c~dmatype 2004-01-08 22:59:26.000000000 -0800
+++ ./sound/oss/ad1889.c 2004-02-03 14:08:55.000000000 -0800
@@ -354,9 +354,9 @@ int ad1889_read_proc (char *page, char *
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);


--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.023 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site