[PATCH 23/71] staging: unisys: Putfile_buffer_list_pool camel case

Jeffrey Brown Jeffrey.Brown at unisys.com
Wed Nov 12 17:42:08 UTC 2014


From: Jeffrey <Jeffrey.Brown at unisys.com>

Changed the static struct Putfile_buffer_list_pool to
putfile_buffer_list_pool
Putfile_buffer_list_pool => putfile_buffer_list_pool

Signed-off-by: Jeffrey Brown <Jeffrey.Brown at unisys.com>
---
 drivers/staging/unisys/visorchipset/visorchipset_main.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index 4b717cd..401b5ee 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -142,7 +142,7 @@ static BOOL ControlVm_Pending_Msg_Valid = FALSE;
 /* Pool of struct putfile_buffer_entry, for keeping track of pending (incoming)
  * TRANSMIT_FILE PutFile payloads.
  */
-static struct kmem_cache *Putfile_buffer_list_pool;
+static struct kmem_cache *putfile_buffer_list_pool;
 static const char putfile_buffer_list_pool_name[] =
 	"controlvm_putfile_buffer_list_pool";
 
@@ -2435,11 +2435,11 @@ visorchipset_init(void)
 
 	memset(&g_deldumpmsghdr, 0, sizeof(struct controlvm_message_header));
 
-	Putfile_buffer_list_pool =
+	putfile_buffer_list_pool =
 	    kmem_cache_create(putfile_buffer_list_pool_name,
 			      sizeof(struct putfile_buffer_entry),
 			      0, SLAB_HWCACHE_ALIGN, NULL);
-	if (!Putfile_buffer_list_pool) {
+	if (!putfile_buffer_list_pool) {
 		ERRDRV("failed to alloc Putfile_buffer_list_pool: (status=-1)\n");
 		POSTCODE_LINUX_2(CHIPSET_INIT_FAILURE_PC, DIAG_SEVERITY_ERR);
 		rc = -1;
@@ -2514,9 +2514,9 @@ visorchipset_exit(void)
 		destroy_controlvm_payload_info(&controlvm_payload_info);
 	}
 	test_vnic_channel = NULL;
-	if (Putfile_buffer_list_pool) {
-		kmem_cache_destroy(Putfile_buffer_list_pool);
-		Putfile_buffer_list_pool = NULL;
+	if (putfile_buffer_list_pool) {
+		kmem_cache_destroy(putfile_buffer_list_pool);
+		putfile_buffer_list_pool = NULL;
 	}
 
 	cleanup_controlvm_structures();
-- 
1.8.4



More information about the devel mailing list