Commit a990356d authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: fix CamelCase in struct del_vbus_guestpart

Fix up CamelCase names:
busNo => bus_no
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0014c3cc
...@@ -356,7 +356,7 @@ struct add_vbus_guestpart { ...@@ -356,7 +356,7 @@ struct add_vbus_guestpart {
}; };
struct del_vbus_guestpart { struct del_vbus_guestpart {
u32 busNo; /* bus number to be deleted */ u32 bus_no; /* bus number to be deleted */
/* once we start using the bus's channel, add can dump busNo /* once we start using the bus's channel, add can dump busNo
* into the channel header and then delete will need only one * into the channel header and then delete will need only one
* parameter, chanptr. */ * parameter, chanptr. */
......
...@@ -315,7 +315,7 @@ destroy_bus(CONTROLVM_MESSAGE *msg, char *buf) ...@@ -315,7 +315,7 @@ destroy_bus(CONTROLVM_MESSAGE *msg, char *buf)
/* client messages require us to call the virtpci callback associated /* client messages require us to call the virtpci callback associated
with this bus. */ with this bus. */
cmd.msgtype = GUEST_DEL_VBUS; cmd.msgtype = GUEST_DEL_VBUS;
cmd.del_vbus.busNo = busNo; cmd.del_vbus.bus_no = busNo;
if (!VirtControlChanFunc) { if (!VirtControlChanFunc) {
LOGERR("CONTROLVM_BUS_DESTROY Failed: virtpci callback not registered."); LOGERR("CONTROLVM_BUS_DESTROY Failed: virtpci callback not registered.");
return CONTROLVM_RESP_ERROR_VIRTPCI_DRIVER_FAILURE; return CONTROLVM_RESP_ERROR_VIRTPCI_DRIVER_FAILURE;
......
...@@ -417,12 +417,12 @@ delete_vbus(struct del_vbus_guestpart *delparams) ...@@ -417,12 +417,12 @@ delete_vbus(struct del_vbus_guestpart *delparams)
struct device *vbus; struct device *vbus;
unsigned char busid[BUS_ID_SIZE]; unsigned char busid[BUS_ID_SIZE];
GET_BUS_DEV(delparams->busNo); GET_BUS_DEV(delparams->bus_no);
/* ensure that bus has no devices? -- TBD */ /* ensure that bus has no devices? -- TBD */
LOGINF("Deleting %s\n", BUS_ID(vbus)); LOGINF("Deleting %s\n", BUS_ID(vbus));
if (delete_vbus_device(vbus, NULL)) if (delete_vbus_device(vbus, NULL))
return 0; /* failure */ return 0; /* failure */
LOGINF("Deleted vbus %d\n", delparams->busNo); LOGINF("Deleted vbus %d\n", delparams->bus_no);
return 1; return 1;
} }
...@@ -620,7 +620,7 @@ static int delete_all_virt(VIRTPCI_DEV_TYPE devtype, struct del_vbus_guestpart * ...@@ -620,7 +620,7 @@ static int delete_all_virt(VIRTPCI_DEV_TYPE devtype, struct del_vbus_guestpart *
unsigned char busid[BUS_ID_SIZE]; unsigned char busid[BUS_ID_SIZE];
struct device *vbus; struct device *vbus;
GET_BUS_DEV(delparams->busNo); GET_BUS_DEV(delparams->bus_no);
if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) { if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) {
LOGERR("**** FAILED to delete all devices; devtype:%d not vhba:%d or vnic:%d\n", LOGERR("**** FAILED to delete all devices; devtype:%d not vhba:%d or vnic:%d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment