staging: unisys: Fix CamelCase in uislib_client_inject_pause_vnic()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:09:06 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:05 +0000 (10:29 +0800)
Fix CamelCase names:
busNo => bus_no
devNo => dev_no

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/uislib/uislib.c

index cbfbd9eac5a5f36b41600eb2b70bbad63f792fd1..f08d51f392b0424a6d2281efabd3da64487f3503 100644 (file)
@@ -147,7 +147,7 @@ int uislib_client_inject_add_vnic(u32 bus_no, u32 dev_no,
                                  u64 phys_chan_addr, u32 chan_bytes,
                                  int is_test_addr, uuid_le inst_uuid,
                                  struct InterruptInfo *intr);
-int uislib_client_inject_pause_vnic(u32 busNo, u32 devNo);
+int uislib_client_inject_pause_vnic(u32 bus_no, u32 dev_no);
 int uislib_client_inject_resume_vnic(u32 busNo, u32 devNo);
 int uislib_client_inject_del_vnic(u32 busNo, u32 devNo);
 #ifdef STORAGE_CHANNEL
index 368b366bb47661717222cd2e4086e6801aa5edf5..da1887d552f304ff4b5d7a4b89bb7d6dacad1c19 100644 (file)
@@ -1034,19 +1034,19 @@ uislib_client_inject_add_vnic(u32 bus_no, u32 dev_no,
 EXPORT_SYMBOL_GPL(uislib_client_inject_add_vnic);
 
 int
-uislib_client_inject_pause_vnic(u32 busNo, u32 devNo)
+uislib_client_inject_pause_vnic(u32 bus_no, u32 dev_no)
 {
        CONTROLVM_MESSAGE msg;
        int rc;
 
        init_msg_header(&msg, CONTROLVM_DEVICE_CHANGESTATE, 0, 0);
-       msg.cmd.deviceChangeState.busNo = busNo;
-       msg.cmd.deviceChangeState.devNo = devNo;
+       msg.cmd.deviceChangeState.busNo = bus_no;
+       msg.cmd.deviceChangeState.devNo = dev_no;
        msg.cmd.deviceChangeState.state = SegmentStateStandby;
        rc = pause_device(&msg);
        if (rc != CONTROLVM_RESP_SUCCESS) {
                LOGERR("VNIC pause_device failed. busNo=0x%x devNo=0x%x\n",
-                      busNo, devNo);
+                      bus_no, dev_no);
                return -1;
        }
        return 0;