staging: unisys: fix CamelCased diagpool bus/dev names
Fix CamelCase names: g_diagpoolBusNo => g_diagpool_bus_no g_diagpoolDevNo => g_diagpool_dev_no Update all references to the changed names. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
59827f0024
commit
83d48905ac
|
@ -75,8 +75,8 @@ static struct controlvm_message_header g_del_dump_msg_hdr;
|
||||||
static const uuid_le spar_diag_pool_channel_protocol_uuid =
|
static const uuid_le spar_diag_pool_channel_protocol_uuid =
|
||||||
SPAR_DIAG_POOL_CHANNEL_PROTOCOL_UUID;
|
SPAR_DIAG_POOL_CHANNEL_PROTOCOL_UUID;
|
||||||
/* 0xffffff is an invalid Bus/Device number */
|
/* 0xffffff is an invalid Bus/Device number */
|
||||||
static ulong g_diagpoolBusNo = 0xffffff;
|
static ulong g_diagpool_bus_no = 0xffffff;
|
||||||
static ulong g_diagpoolDevNo = 0xffffff;
|
static ulong g_diagpool_dev_no = 0xffffff;
|
||||||
static struct controlvm_message_packet g_DeviceChangeStatePacket;
|
static struct controlvm_message_packet g_DeviceChangeStatePacket;
|
||||||
|
|
||||||
/* Only VNIC and VHBA channels are sent to visorclientbus (aka
|
/* Only VNIC and VHBA channels are sent to visorclientbus (aka
|
||||||
|
@ -707,9 +707,9 @@ controlvm_respond(struct controlvm_message_header *msgHdr, int response)
|
||||||
* back the deviceChangeState structure in the packet. */
|
* back the deviceChangeState structure in the packet. */
|
||||||
if (msgHdr->id == CONTROLVM_DEVICE_CHANGESTATE
|
if (msgHdr->id == CONTROLVM_DEVICE_CHANGESTATE
|
||||||
&& g_DeviceChangeStatePacket.device_change_state.bus_no ==
|
&& g_DeviceChangeStatePacket.device_change_state.bus_no ==
|
||||||
g_diagpoolBusNo
|
g_diagpool_bus_no
|
||||||
&& g_DeviceChangeStatePacket.device_change_state.dev_no ==
|
&& g_DeviceChangeStatePacket.device_change_state.dev_no ==
|
||||||
g_diagpoolDevNo)
|
g_diagpool_dev_no)
|
||||||
outmsg.cmd = g_DeviceChangeStatePacket;
|
outmsg.cmd = g_DeviceChangeStatePacket;
|
||||||
if (outmsg.hdr.flags.test_message == 1)
|
if (outmsg.hdr.flags.test_message == 1)
|
||||||
return;
|
return;
|
||||||
|
@ -1030,8 +1030,8 @@ device_epilog(u32 busNo, u32 devNo, struct spar_segment_state state, u32 cmd,
|
||||||
/* this is lite pause where channel is
|
/* this is lite pause where channel is
|
||||||
* still valid just 'pause' of it
|
* still valid just 'pause' of it
|
||||||
*/
|
*/
|
||||||
if (busNo == g_diagpoolBusNo
|
if (busNo == g_diagpool_bus_no
|
||||||
&& devNo == g_diagpoolDevNo) {
|
&& devNo == g_diagpool_dev_no) {
|
||||||
/* this will trigger the
|
/* this will trigger the
|
||||||
* diag_shutdown.sh script in
|
* diag_shutdown.sh script in
|
||||||
* the visorchipset hotplug */
|
* the visorchipset hotplug */
|
||||||
|
@ -1241,8 +1241,8 @@ Away:
|
||||||
/* get the bus and devNo for DiagPool channel */
|
/* get the bus and devNo for DiagPool channel */
|
||||||
if (pDevInfo &&
|
if (pDevInfo &&
|
||||||
is_diagpool_channel(pDevInfo->chan_info.channel_type_uuid)) {
|
is_diagpool_channel(pDevInfo->chan_info.channel_type_uuid)) {
|
||||||
g_diagpoolBusNo = busNo;
|
g_diagpool_bus_no = busNo;
|
||||||
g_diagpoolDevNo = devNo;
|
g_diagpool_dev_no = devNo;
|
||||||
}
|
}
|
||||||
device_epilog(busNo, devNo, segment_state_running,
|
device_epilog(busNo, devNo, segment_state_running,
|
||||||
CONTROLVM_DEVICE_CREATE, &inmsg->hdr, rc,
|
CONTROLVM_DEVICE_CREATE, &inmsg->hdr, rc,
|
||||||
|
|
Loading…
Reference in a new issue