diff options
| author | Benjamin Romer <[email protected]> | 2015-03-16 13:58:02 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-23 21:53:45 +0100 |
| commit | 4f44b72d96ec2322bb8e1ffbcbbbd4a684763ba2 (patch) | |
| tree | bfbfdb48f8d6b99b9e02051e2c02283fa9d6d61f | |
| parent | 83d48905aceaa0d3165b2a12962f8c63df98ec14 (diff) | |
staging: unisys: fix CamelCase name for devicechangestate packet
Fix the variable's CamelCase name:
g_DeviceChangeStatePacket => g_devicechangestate_packet
Update all references to use the fixed name.
Signed-off-by: Benjamin Romer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 33fe82d8b1b5..f8dfc5cda73f 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -77,7 +77,7 @@ static const uuid_le spar_diag_pool_channel_protocol_uuid = /* 0xffffff is an invalid Bus/Device number */ static ulong g_diagpool_bus_no = 0xffffff; static ulong g_diagpool_dev_no = 0xffffff; -static struct controlvm_message_packet g_DeviceChangeStatePacket; +static struct controlvm_message_packet g_devicechangestate_packet; /* Only VNIC and VHBA channels are sent to visorclientbus (aka * "visorhackbus") @@ -706,11 +706,11 @@ controlvm_respond(struct controlvm_message_header *msgHdr, int response) /* For DiagPool channel DEVICE_CHANGESTATE, we need to send * back the deviceChangeState structure in the packet. */ if (msgHdr->id == CONTROLVM_DEVICE_CHANGESTATE - && g_DeviceChangeStatePacket.device_change_state.bus_no == + && g_devicechangestate_packet.device_change_state.bus_no == g_diagpool_bus_no - && g_DeviceChangeStatePacket.device_change_state.dev_no == + && g_devicechangestate_packet.device_change_state.dev_no == g_diagpool_dev_no) - outmsg.cmd = g_DeviceChangeStatePacket; + outmsg.cmd = g_devicechangestate_packet; if (outmsg.hdr.flags.test_message == 1) return; @@ -1756,7 +1756,7 @@ handle_command(struct controlvm_message inmsg, HOSTADDRESS channel_addr) /* when sending back the response to Command */ my_device_changestate(&inmsg); g_diag_msg_hdr = inmsg.hdr; - g_DeviceChangeStatePacket = inmsg.cmd; + g_devicechangestate_packet = inmsg.cmd; break; } break; |