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

Changed two static ulongs that are supposed to represent invalid
bus/device numbers
g_diagpoolBusNo => g_diagpoolbusno
g_diagpoolDevNo => g_diagpooldevno

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

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c 
b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index 566fef7..4a1b69b 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -82,8 +82,8 @@ 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 */
-static ulong g_diagpoolBusNo = 0xffffff;
-static ulong g_diagpoolDevNo = 0xffffff;
+static ulong g_diagpoolbusno = 0xffffff;
+static ulong g_diagpooldevno = 0xffffff;
 static struct controlvm_message_packet g_DeviceChangeStatePacket;
 
 /* Only VNIC and VHBA channels are sent to visorclientbus (aka
@@ -720,9 +720,9 @@ controlvm_respond(struct controlvm_message_header *msgHdr, 
int response)
        * back the deviceChangeState structure in the packet. */
        if (msgHdr->id == CONTROLVM_DEVICE_CHANGESTATE &&
            g_DeviceChangeStatePacket.device_change_state.bus_no ==
-           g_diagpoolBusNo &&
+           g_diagpoolbusno &&
            g_DeviceChangeStatePacket.device_change_state.dev_no ==
-           g_diagpoolDevNo)
+           g_diagpooldevno)
                outmsg.cmd = g_DeviceChangeStatePacket;
        if (outmsg.hdr.flags.test_message == 1) {
                LOGINF("%s controlvm_msg=0x%x response=%d for test message",
@@ -1073,8 +1073,8 @@ device_epilog(u32 busNo, u32 devNo, struct 
spar_segment_state state, u32 cmd,
                                /* this is lite pause where channel is
                                 * still valid just 'pause' of it
                                 */
-                               if (busNo == g_diagpoolBusNo &&
-                                   devNo == g_diagpoolDevNo) {
+                               if (busNo == g_diagpoolbusno &&
+                                   devNo == g_diagpooldevno) {
                                        
LOGINF("DEVICE_CHANGESTATE(DiagpoolChannel busNo=%d devNo=%d is pausing...)",
                                               busNo, devNo);
                                        /* this will trigger the
@@ -1305,10 +1305,10 @@ Away:
        /* get the bus and devNo for DiagPool channel */
        if (pDevInfo &&
            is_diagpool_channel(pDevInfo->chan_info.channel_type_uuid)) {
-               g_diagpoolBusNo = busNo;
-               g_diagpoolDevNo = devNo;
+               g_diagpoolbusno = busNo;
+               g_diagpooldevno = devNo;
                LOGINF("CONTROLVM_DEVICE_CREATE for DiagPool channel: 
busNo=%lu, devNo=%lu",
-                      g_diagpoolBusNo, g_diagpoolDevNo);
+                      g_diagpoolbusno, g_diagpooldevno);
        }
        device_epilog(busNo, devNo, segment_state_running,
                      CONTROLVM_DEVICE_CREATE, &inmsg->hdr, rc,
-- 
1.8.4

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

Reply via email to