From: Jeffrey <jeffrey.br...@unisys.com>

Changed the camel cases of three controlvm_message_headers that
are related to each other
g_DiagMsgHdr => g_diagmsghdr
g_ChipsetMsgHdr => g_chipsetmsghdr
g_DelDumpMsgHdr => g_deldumpmsghdr

Signed-off-by: Jeffrey Brown <jeffrey.br...@unisys.com>
---
 .../unisys/visorchipset/visorchipset_main.c        | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c 
b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index 8099c21..1ad243f 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -76,9 +76,9 @@ typedef struct {
        unsigned int crc;
 } MESSAGE_ENVELOPE;
 
-static struct controlvm_message_header g_DiagMsgHdr;
-static struct controlvm_message_header g_ChipSetMsgHdr;
-static struct controlvm_message_header g_DelDumpMsgHdr;
+static struct controlvm_message_header g_diagmsghdr;
+static struct controlvm_message_header g_chipsetmsghdr;
+static struct controlvm_message_header g_deldumpmsghdr;
 static const uuid_le UltraDiagPoolChannelProtocolGuid =
        SPAR_DIAG_POOL_CHANNEL_PROTOCOL_UUID;
 /* 0xffffff is an invalid Bus/Device number */
@@ -1520,7 +1520,7 @@ chipset_ready(struct controlvm_message_header *msgHdr)
                /* Send CHIPSET_READY response when all modules have been loaded
                 * and disks mounted for the partition
                 */
-               g_ChipSetMsgHdr = *msgHdr;
+               g_chipsetmsghdr = *msgHdr;
                LOGINF("Holding CHIPSET_READY response");
        }
 }
@@ -1883,7 +1883,7 @@ handle_command(struct controlvm_message inmsg, 
HOSTADDRESS channel_addr)
                        /* save the hdr and cmd structures for later use */
                        /* when sending back the response to Command */
                        my_device_changestate(&inmsg);
-                       g_DiagMsgHdr = inmsg.hdr;
+                       g_diagmsghdr = inmsg.hdr;
                        g_DeviceChangeStatePacket = inmsg.cmd;
                        break;
                }
@@ -1973,12 +1973,12 @@ controlvm_periodic_work(struct work_struct *work)
         * should be sent
         */
        if (visorchipset_holdchipsetready &&
-           (g_ChipSetMsgHdr.id != CONTROLVM_INVALID)) {
+           (g_chipsetmsghdr.id != CONTROLVM_INVALID)) {
                if (check_chipset_events() == 1) {
                        LOGINF("Sending CHIPSET_READY response");
-                       controlvm_respond(&g_ChipSetMsgHdr, 0);
+                       controlvm_respond(&g_chipsetmsghdr, 0);
                        clear_chipset_events();
-                       memset(&g_ChipSetMsgHdr, 0,
+                       memset(&g_chipsetmsghdr, 0,
                               sizeof(struct controlvm_message_header));
                }
        }
@@ -2429,11 +2429,11 @@ visorchipset_init(void)
                goto Away;
        }
 
-       memset(&g_DiagMsgHdr, 0, sizeof(struct controlvm_message_header));
+       memset(&g_diagmsghdr, 0, sizeof(struct controlvm_message_header));
 
-       memset(&g_ChipSetMsgHdr, 0, sizeof(struct controlvm_message_header));
+       memset(&g_chipsetmsghdr, 0, sizeof(struct controlvm_message_header));
 
-       memset(&g_DelDumpMsgHdr, 0, sizeof(struct controlvm_message_header));
+       memset(&g_deldumpmsghdr, 0, sizeof(struct controlvm_message_header));
 
        Putfile_buffer_list_pool =
            kmem_cache_create(Putfile_buffer_list_pool_name,
@@ -2521,11 +2521,11 @@ visorchipset_exit(void)
 
        cleanup_controlvm_structures();
 
-       memset(&g_DiagMsgHdr, 0, sizeof(struct controlvm_message_header));
+       memset(&g_diagmsghdr, 0, sizeof(struct controlvm_message_header));
 
-       memset(&g_ChipSetMsgHdr, 0, sizeof(struct controlvm_message_header));
+       memset(&g_chipsetmsghdr, 0, sizeof(struct controlvm_message_header));
 
-       memset(&g_DelDumpMsgHdr, 0, sizeof(struct controlvm_message_header));
+       memset(&g_deldumpmsghdr, 0, sizeof(struct controlvm_message_header));
 
        LOGINF("Channel %s (ControlVm) disconnected",
               visorchannel_id(ControlVm_channel, s));
-- 
1.8.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to