diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2015-03-16 18:58:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-23 21:53:53 +0100 |
commit | cafefc0ca1a36fa917a9cf1bea6ea4e9e05db8f1 (patch) | |
tree | 8a826ec0dbbffa56a487b9859799c8f7748418fe | |
parent | staging: unisys: fix NULL comparison in destroy_controlvm_payload_info() (diff) | |
download | linux-cafefc0ca1a36fa917a9cf1bea6ea4e9e05db8f1.tar.xz linux-cafefc0ca1a36fa917a9cf1bea6ea4e9e05db8f1.zip |
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: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 0f791fb0728f..a32d092b38d2 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -1310,13 +1310,13 @@ static void initialize_controlvm_payload(void) { HOSTADDRESS phys_addr = visorchannel_get_physaddr(controlvm_channel); - u64 payloadOffset = 0; - u32 payloadBytes = 0; + u64 payload_offset = 0; + u32 payload_bytes = 0; if (visorchannel_read(controlvm_channel, offsetof(struct spar_controlvm_channel_protocol, request_payload_offset), - &payloadOffset, sizeof(payloadOffset)) < 0) { + &payload_offset, sizeof(payload_offset)) < 0) { POSTCODE_LINUX_2(CONTROLVM_INIT_FAILURE_PC, POSTCODE_SEVERITY_ERR); return; @@ -1324,13 +1324,13 @@ initialize_controlvm_payload(void) if (visorchannel_read(controlvm_channel, offsetof(struct spar_controlvm_channel_protocol, request_payload_bytes), - &payloadBytes, sizeof(payloadBytes)) < 0) { + &payload_bytes, sizeof(payload_bytes)) < 0) { POSTCODE_LINUX_2(CONTROLVM_INIT_FAILURE_PC, POSTCODE_SEVERITY_ERR); return; } initialize_controlvm_payload_info(phys_addr, - payloadOffset, payloadBytes, + payload_offset, payload_bytes, &controlvm_payload_info); } |