summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2012-10-18 14:32:55 +0100
committerRussell King <rmk@arm.linux.org.uk>2012-10-20 22:04:34 +0100
commitf9f36a385093a97030cfebd362983311b741100f (patch)
treef98c4ab354a2d5861cc5d4169d856431bf9a0c11
parentd614f345ec4f3b81ce3a856750d4a880fb9cad4e (diff)
Remove spaces before \n
-rw-r--r--vmeta_lib.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/vmeta_lib.c b/vmeta_lib.c
index 940ddc5..0026877 100644
--- a/vmeta_lib.c
+++ b/vmeta_lib.c
@@ -152,7 +152,7 @@ void *vdec_os_api_vmalloc(UNSG32 size, UNSG32 align)
size += align;
ptr = malloc(size);
if (!ptr) {
- dbg_printf(VDEC_DEBUG_MEM, "vdec_os_api_vmalloc not enough memory \n");
+ dbg_printf(VDEC_DEBUG_MEM, "vdec_os_api_vmalloc not enough memory\n");
return NULL;
}
@@ -190,7 +190,7 @@ void * vdec_os_api_dma_alloc(UNSG32 size, UNSG32 align, UNSG32 * pPhysical)
size += align;
ptr = bmm_malloc(size, BMM_ATTR_NONCACHED);
if (!ptr) {
- dbg_printf(VDEC_DEBUG_MEM, "vdec_os_api_vmalloc not enough memory \n");
+ dbg_printf(VDEC_DEBUG_MEM, "vdec_os_api_vmalloc not enough memory\n");
return NULL;
}
@@ -708,7 +708,7 @@ SIGN32 vdec_os_api_get_ks(kernel_share** pp_ks)
if (ret < 0)
goto get_vos_fail;
- dbg_printf(VDEC_DEBUG_MEM, "kernel share virtual address: 0x%p size=%d \n", addr, size);
+ dbg_printf(VDEC_DEBUG_MEM, "kernel share virtual address: 0x%p size=%d\n", addr, size);
*pp_ks = addr;
vdec_iface->kernel_share_va = addr;
@@ -837,29 +837,29 @@ static void *vmeta_thread_monitor(void *_data)
}
memcpy(p_md,pmd,sizeof(struct monitor_data));
- dbg_printf(VDEC_DEBUG_LOCK,"ori 0x%x 0x%x pt=0x%x user_id=0x%x \n",pmd->pt, pmd->user_id, p_md->pt,p_md->user_id);
+ dbg_printf(VDEC_DEBUG_LOCK,"ori 0x%x 0x%x pt=0x%x user_id=0x%x\n",pmd->pt, pmd->user_id, p_md->pt,p_md->user_id);
p_ks = p_cb->kernel_share_va;
if(pthread_getattr_np(p_md->pt,&pat) != 0)
{
- dbg_printf(VDEC_DEBUG_LOCK,"get thread attr failed \n");
+ dbg_printf(VDEC_DEBUG_LOCK,"get thread attr failed\n");
goto tag_monitor_fail;
}
if( pthread_attr_getdetachstate(&pat,&detach_attr) != 0)
{
- dbg_printf(VDEC_DEBUG_LOCK,"get detach attr failed \n");
+ dbg_printf(VDEC_DEBUG_LOCK,"get detach attr failed\n");
goto tag_monitor_fail;
}
if( detach_attr == PTHREAD_CREATE_DETACHED)
{
- dbg_printf(VDEC_DEBUG_LOCK,"The thread is a detached thread, cannot join \nexit monitor! \n");
+ dbg_printf(VDEC_DEBUG_LOCK,"The thread is a detached thread, cannot join\nexit monitor!\n");
goto tag_monitor_fail;
}
- dbg_printf(VDEC_DEBUG_LOCK,"wait for pt=0x%x \n",p_md->pt);
+ dbg_printf(VDEC_DEBUG_LOCK,"wait for pt=0x%x\n",p_md->pt);
pthread_mutex_unlock(&pmt);
pthread_join(p_md->pt,NULL);
@@ -1013,7 +1013,7 @@ SIGN32 vdec_os_api_get_user_count(void)
p_ks = p_cb->kernel_share_va;
}
- dbg_printf(VDEC_DEBUG_ALL, "get_user_count=%d \n",p_ks->ref_count);
+ dbg_printf(VDEC_DEBUG_ALL, "get_user_count=%d\n",p_ks->ref_count);
return p_ks->ref_count;
}
@@ -1038,7 +1038,7 @@ SIGN32 vdec_os_api_lock(SIGN32 user_id, long to_ms)
ret = ioctl(vdec_iface->uiofd,VMETA_CMD_LOCK,(unsigned long)to_ms);
if(ret!=0) {
- dbg_printf(VDEC_DEBUG_LOCK, "lock timeout \n");
+ dbg_printf(VDEC_DEBUG_LOCK, "lock timeout\n");
return LOCK_RET_ERROR_TIMEOUT;
}