From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> 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@xxxxxxxxxx> --- 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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel