staging: unisys: Fix CamelCase in Issue_VMCALL_IO_CONTROLVM_ADDR()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:41 +0000 (12:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:49:28 +0000 (09:49 -0700)
Fix CamelCase names:
Issue_VMCALL_IO_CONTROLVM_ADDR => issue_vmcall_io_controlvm_addr
ControlAddress => control_addr
ControlBytes => control_bytes

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h
drivers/staging/unisys/visorchipset/visorchipset_main.c

index f818d00abd4a9c36c0d1555e7614c3f19550e5db..2e98f2dbe924a26504f016f54c5ffa2a5e751ff5 100644 (file)
@@ -222,7 +222,7 @@ unsigned int uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx,
                                             struct phys_info frags[]);
 
 static inline unsigned int
-Issue_VMCALL_IO_CONTROLVM_ADDR(u64 *ControlAddress, u32 *ControlBytes)
+issue_vmcall_io_controlvm_addr(u64 *control_addr, u32 *control_bytes)
 {
        VMCALL_IO_CONTROLVM_ADDR_PARAMS params;
        int result = VMCALL_SUCCESS;
@@ -231,8 +231,8 @@ Issue_VMCALL_IO_CONTROLVM_ADDR(u64 *ControlAddress, u32 *ControlBytes)
        physaddr = virt_to_phys(&params);
        ISSUE_IO_VMCALL(VMCALL_IO_CONTROLVM_ADDR, physaddr, result);
        if (VMCALL_SUCCESSFUL(result)) {
-               *ControlAddress = params.ChannelAddress;
-               *ControlBytes = params.ChannelBytes;
+               *control_addr = params.ChannelAddress;
+               *control_bytes = params.ChannelBytes;
        }
        return result;
 }
index c299a0df5195259a49864590890ac0e9a18abf96..e5df39554a1a4281286e45a6a687e504c5cd7fed 100644 (file)
@@ -1911,7 +1911,7 @@ static HOSTADDRESS controlvm_get_channel_address(void)
        u64 addr = 0;
        u32 size = 0;
 
-       if (!VMCALL_SUCCESSFUL(Issue_VMCALL_IO_CONTROLVM_ADDR(&addr, &size))) {
+       if (!VMCALL_SUCCESSFUL(issue_vmcall_io_controlvm_addr(&addr, &size))) {
                ERRDRV("%s - vmcall to determine controlvm channel addr failed",
                       __func__);
                return 0;