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

staging: unisys: fix CamelCase parameter in chipset functions

Fix the CamelCase parameter

msgHdr => msg_hdr

In all of the chipset functions. Update all references to use the corrected
name.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b3168c70
...@@ -1370,42 +1370,42 @@ visorchipset_chipset_notready(void) ...@@ -1370,42 +1370,42 @@ visorchipset_chipset_notready(void)
EXPORT_SYMBOL_GPL(visorchipset_chipset_notready); EXPORT_SYMBOL_GPL(visorchipset_chipset_notready);
static void static void
chipset_ready(struct controlvm_message_header *msgHdr) chipset_ready(struct controlvm_message_header *msg_hdr)
{ {
int rc = visorchipset_chipset_ready(); int rc = visorchipset_chipset_ready();
if (rc != CONTROLVM_RESP_SUCCESS) if (rc != CONTROLVM_RESP_SUCCESS)
rc = -rc; rc = -rc;
if (msgHdr->flags.response_expected && !visorchipset_holdchipsetready) if (msg_hdr->flags.response_expected && !visorchipset_holdchipsetready)
controlvm_respond(msgHdr, rc); controlvm_respond(msg_hdr, rc);
if (msgHdr->flags.response_expected && visorchipset_holdchipsetready) { if (msg_hdr->flags.response_expected && visorchipset_holdchipsetready) {
/* Send CHIPSET_READY response when all modules have been loaded /* Send CHIPSET_READY response when all modules have been loaded
* and disks mounted for the partition * and disks mounted for the partition
*/ */
g_chipset_msg_hdr = *msgHdr; g_chipset_msg_hdr = *msg_hdr;
} }
} }
static void static void
chipset_selftest(struct controlvm_message_header *msgHdr) chipset_selftest(struct controlvm_message_header *msg_hdr)
{ {
int rc = visorchipset_chipset_selftest(); int rc = visorchipset_chipset_selftest();
if (rc != CONTROLVM_RESP_SUCCESS) if (rc != CONTROLVM_RESP_SUCCESS)
rc = -rc; rc = -rc;
if (msgHdr->flags.response_expected) if (msg_hdr->flags.response_expected)
controlvm_respond(msgHdr, rc); controlvm_respond(msg_hdr, rc);
} }
static void static void
chipset_notready(struct controlvm_message_header *msgHdr) chipset_notready(struct controlvm_message_header *msg_hdr)
{ {
int rc = visorchipset_chipset_notready(); int rc = visorchipset_chipset_notready();
if (rc != CONTROLVM_RESP_SUCCESS) if (rc != CONTROLVM_RESP_SUCCESS)
rc = -rc; rc = -rc;
if (msgHdr->flags.response_expected) if (msg_hdr->flags.response_expected)
controlvm_respond(msgHdr, rc); controlvm_respond(msg_hdr, rc);
} }
/* This is your "one-stop" shop for grabbing the next message from the /* This is your "one-stop" shop for grabbing the next message from the
......
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