From 9ee8fe35a079aa4195639c11b6fdf87a8e1722bd Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 1 Sep 2017 16:34:13 +0100 Subject: [PATCH] vcsm: Fix block comment formatting Signed-off-by: Dave Stevenson --- drivers/char/broadcom/vc_sm/vc_sm_defs.h | 6 ++++-- drivers/char/broadcom/vc_sm/vc_vchi_sm.h | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/char/broadcom/vc_sm/vc_sm_defs.h b/drivers/char/broadcom/vc_sm/vc_sm_defs.h index 8242e8ef28e4..de6afe9f65af 100644 --- a/drivers/char/broadcom/vc_sm/vc_sm_defs.h +++ b/drivers/char/broadcom/vc_sm/vc_sm_defs.h @@ -151,8 +151,10 @@ struct vc_sm_lock_result_t { uint32_t res_handle; /* Pointer to resource buffer */ uint32_t res_mem; - /* Pointer to former resource buffer if the memory - * was reallocated */ + /* + * Pointer to former resource buffer if the memory + * was reallocated + */ uint32_t res_old_mem; }; diff --git a/drivers/char/broadcom/vc_sm/vc_vchi_sm.h b/drivers/char/broadcom/vc_sm/vc_vchi_sm.h index 110db20ef517..48e721c7f2e4 100644 --- a/drivers/char/broadcom/vc_sm/vc_vchi_sm.h +++ b/drivers/char/broadcom/vc_sm/vc_vchi_sm.h @@ -23,7 +23,7 @@ /* * Forward declare. -*/ + */ typedef struct sm_instance *VC_VCHI_SM_HANDLE_T; /* @@ -57,7 +57,7 @@ int vc_vchi_sm_free(VC_VCHI_SM_HANDLE_T handle, /* * Ask the shared memory service to lock up some memory that was previously * allocated by the vc_vchi_sm_alloc function call. -*/ + */ int vc_vchi_sm_lock(VC_VCHI_SM_HANDLE_T handle, struct vc_sm_lock_unlock_t *lock_unlock, struct vc_sm_lock_result_t *lock_result, @@ -66,7 +66,7 @@ int vc_vchi_sm_lock(VC_VCHI_SM_HANDLE_T handle, /* * Ask the shared memory service to unlock some memory that was previously * allocated by the vc_vchi_sm_alloc function call. -*/ + */ int vc_vchi_sm_unlock(VC_VCHI_SM_HANDLE_T handle, struct vc_sm_lock_unlock_t *lock_unlock, uint32_t *trans_id, uint8_t wait_reply); @@ -74,7 +74,7 @@ int vc_vchi_sm_unlock(VC_VCHI_SM_HANDLE_T handle, /* * Ask the shared memory service to resize some memory that was previously * allocated by the vc_vchi_sm_alloc function call. -*/ + */ int vc_vchi_sm_resize(VC_VCHI_SM_HANDLE_T handle, struct vc_sm_resize_t *resize, uint32_t *trans_id); @@ -82,7 +82,7 @@ int vc_vchi_sm_resize(VC_VCHI_SM_HANDLE_T handle, * Walk the allocated resources on the videocore side, the allocation will * show up in the log. This is purely for debug/information and takes no * specific actions. -*/ + */ int vc_vchi_sm_walk_alloc(VC_VCHI_SM_HANDLE_T handle); /* -- 2.30.2