oss/ad1889: correct printk of dma_addr_t
PATCH 1/1 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(-)
sound/oss/ad1889.c renamed from sound/oss/ad1889.c~dmatype +2 -2
@@ -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