From 50fa9b9d4340edc279111a208afb939787216c08 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 5 Sep 2017 10:15:25 +0100 Subject: [PATCH] vcsm: Replace SM_STATS_T with sm_stats_t Follows the kernel coding style Signed-off-by: Dave Stevenson --- drivers/char/broadcom/vc_sm/vmcs_sm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c index ea4fcd787f6b..a27a5e9d4cb9 100644 --- a/drivers/char/broadcom/vc_sm/vmcs_sm.c +++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c @@ -62,7 +62,7 @@ #define VC_SM_WRITE_BUF_SIZE 128 /* Statistics tracked per resource and globally. */ -enum SM_STATS_T { +enum sm_stats_t { /* Attempt. */ ALLOC, FREE, @@ -142,7 +142,7 @@ struct sm_resource_t { enum vmcs_sm_cache_e res_cached; /* Resource cache type. */ struct sm_resource_t *res_shared; /* Shared resource */ - enum SM_STATS_T res_stats[END_ALL]; /* Resource statistics. */ + enum sm_stats_t res_stats[END_ALL]; /* Resource statistics. */ uint8_t map_count; /* Counter of mappings for this resource. */ struct list_head map_list; /* Maps associated with a resource. */ @@ -187,8 +187,8 @@ struct SM_STATE_T { struct list_head map_list; /* List of maps. */ struct list_head resource_list; /* List of resources. */ - enum SM_STATS_T deceased[END_ALL]; /* Natural termination stats. */ - enum SM_STATS_T terminated[END_ALL]; /* Forced termination stats. */ + enum sm_stats_t deceased[END_ALL]; /* Natural termination stats. */ + enum sm_stats_t terminated[END_ALL]; /* Forced termination stats. */ uint32_t res_deceased_cnt; /* Natural termination counter. */ uint32_t res_terminated_cnt; /* Forced termination counter. */ -- 2.30.2