diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 16:43:14 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 16:43:14 +0100 |
commit | 4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b (patch) | |
tree | dce4520f69b3124da7afa76c2bbe5fc1f08313f7 /dma/ipe.c | |
parent | 195c28f3074486165b6e0935362810f8a1fb9531 (diff) | |
download | pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.tar.gz pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.tar.bz2 pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.tar.xz pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.zip |
RPM generation
Diffstat (limited to 'dma/ipe.c')
-rw-r--r-- | dma/ipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -651,7 +651,7 @@ int dma_ipe_stream_read(pcilib_dma_context_t *vctx, pcilib_dma_engine_t dma, uin if ((ctx->dma_flags&IPEDMA_FLAG_NOSYNC) == 0) pcilib_kmem_sync_block(ctx->dmactx.pcilib, ctx->pages, PCILIB_KMEM_SYNC_FROMDEVICE, cur_read); - void *buf = pcilib_kmem_get_block_ua(ctx->dmactx.pcilib, ctx->pages, cur_read); + void *buf = (void*)pcilib_kmem_get_block_ua(ctx->dmactx.pcilib, ctx->pages, cur_read); ret = cb(cbattr, packet_flags, ctx->page_size, buf); if (ret < 0) return -ret; |