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

staging: unisys: fix Camelcase in initialize_controlvm_payload()

Fix the CamelCase local variables:

payloadOffset => payload_offset
payloadBytes => payload_bytes

Update all references to use the new names.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 597c338f
...@@ -1310,13 +1310,13 @@ static void ...@@ -1310,13 +1310,13 @@ static void
initialize_controlvm_payload(void) initialize_controlvm_payload(void)
{ {
HOSTADDRESS phys_addr = visorchannel_get_physaddr(controlvm_channel); HOSTADDRESS phys_addr = visorchannel_get_physaddr(controlvm_channel);
u64 payloadOffset = 0; u64 payload_offset = 0;
u32 payloadBytes = 0; u32 payload_bytes = 0;
if (visorchannel_read(controlvm_channel, if (visorchannel_read(controlvm_channel,
offsetof(struct spar_controlvm_channel_protocol, offsetof(struct spar_controlvm_channel_protocol,
request_payload_offset), request_payload_offset),
&payloadOffset, sizeof(payloadOffset)) < 0) { &payload_offset, sizeof(payload_offset)) < 0) {
POSTCODE_LINUX_2(CONTROLVM_INIT_FAILURE_PC, POSTCODE_LINUX_2(CONTROLVM_INIT_FAILURE_PC,
POSTCODE_SEVERITY_ERR); POSTCODE_SEVERITY_ERR);
return; return;
...@@ -1324,13 +1324,13 @@ initialize_controlvm_payload(void) ...@@ -1324,13 +1324,13 @@ initialize_controlvm_payload(void)
if (visorchannel_read(controlvm_channel, if (visorchannel_read(controlvm_channel,
offsetof(struct spar_controlvm_channel_protocol, offsetof(struct spar_controlvm_channel_protocol,
request_payload_bytes), request_payload_bytes),
&payloadBytes, sizeof(payloadBytes)) < 0) { &payload_bytes, sizeof(payload_bytes)) < 0) {
POSTCODE_LINUX_2(CONTROLVM_INIT_FAILURE_PC, POSTCODE_LINUX_2(CONTROLVM_INIT_FAILURE_PC,
POSTCODE_SEVERITY_ERR); POSTCODE_SEVERITY_ERR);
return; return;
} }
initialize_controlvm_payload_info(phys_addr, initialize_controlvm_payload_info(phys_addr,
payloadOffset, payloadBytes, payload_offset, payload_bytes,
&controlvm_payload_info); &controlvm_payload_info);
} }
......
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