summaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-07-26 18:30:01 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-07-26 18:30:01 +0200
commitf5b4c23cc79affe851016c7ef7970b3e3489fad3 (patch)
treecf5a49e203e8881277b79c1bf33596899f6ef34c /driver
parent57fe574e058bc34c95a71995060ac45f71300ab6 (diff)
downloadpcitool-f5b4c23cc79affe851016c7ef7970b3e3489fad3.tar.gz
pcitool-f5b4c23cc79affe851016c7ef7970b3e3489fad3.tar.bz2
pcitool-f5b4c23cc79affe851016c7ef7970b3e3489fad3.tar.xz
pcitool-f5b4c23cc79affe851016c7ef7970b3e3489fad3.zip
Add missing semicolon in the driver
Diffstat (limited to 'driver')
-rw-r--r--driver/kmem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/kmem.c b/driver/kmem.c
index f36ff8c..b8ce0d0 100644
--- a/driver/kmem.c
+++ b/driver/kmem.c
@@ -621,9 +621,9 @@ int pcidriver_mmap_kmem(pcidriver_privdata_t *privdata, struct vm_area_struct *v
page_to_pfn(virt_to_page((void*)kmem_entry->cpua)));
if ((kmem_entry->type&PCILIB_KMEM_TYPE_MASK) == PCILIB_KMEM_TYPE_REGION) {
- mod_info("Mapping address %08lx / Size %08lx\n",
- kmem_entry->dma_handle,
- (vma_size < kmem_entry->size)?vma_size:kmem_entry->size)
+ mod_info("Mapping address %08lx / Size %08lx\n",
+ (unsigned long)kmem_entry->dma_handle,
+ (vma_size < kmem_entry->size)?vma_size:kmem_entry->size);
ret = remap_pfn_range_compat(
vma,