fixed coding rule 40/163040/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 7 Dec 2017 04:40:40 +0000 (13:40 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 7 Dec 2017 04:40:46 +0000 (13:40 +0900)
Change-Id: I995002022804cbc63a7e605e6165fa30689b11aa

src/tbm_bufmgr_vc4.c

index b8bf4bf..5a4bddc 100644 (file)
@@ -883,7 +883,7 @@ _vc4_bo_handle(tbm_bo_vc4 bo_vc4, int device)
                        void *map = NULL;
                        struct drm_vc4_mmap_bo arg = {0, };
                        arg.handle = bo_vc4->gem;
-                       if (drmIoctl(bo_vc4->fd, DRM_IOCTL_VC4_MMAP_BO, &arg)){
+                       if (drmIoctl(bo_vc4->fd, DRM_IOCTL_VC4_MMAP_BO, &arg)) {
                                TBM_VC4_ERROR("Cannot map_dumb gem=%d\n", bo_vc4->gem);
                                return (tbm_bo_handle) NULL;
                        }
@@ -975,7 +975,7 @@ tbm_vc4_bo_alloc(tbm_bo bo, int size, int flags)
        struct drm_vc4_create_bo arg = {0, };
        arg.flags = flags;/*currently no values for the flags,but it may be used in future extension*/
        arg.size = (__u32)size;
-       if (drmIoctl(bufmgr_vc4->fd, DRM_IOCTL_VC4_CREATE_BO, &arg)){
+       if (drmIoctl(bufmgr_vc4->fd, DRM_IOCTL_VC4_CREATE_BO, &arg)) {
                TBM_VC4_ERROR("Cannot create bo(flag:%x, size:%d)\n", arg.flags,
                               (unsigned int)arg.size);
                free(bo_vc4);