From f9f36a385093a97030cfebd362983311b741100f Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 18 Oct 2012 14:32:55 +0100 Subject: Remove spaces before \n --- vmeta_lib.c | 20 ++++++++++---------- 1 file 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; } -- cgit