[PATCH 62/71] staging: unisys: handle_command camel cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx>

Removed the camel cases from the static BOOL handle_command
parametersAddr -> parametersaddr
parameterBytes -> parametersbytes
isLocalAddr -> islocaladdr

Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx>
---
 .../unisys/visorchipset/visorchipset_main.c        | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index ca57e03..e8ff836 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -1795,31 +1795,31 @@ static BOOL
 handle_command(struct controlvm_message inmsg, HOSTADDRESS channel_addr)
 {
 	struct controlvm_message_packet *cmd = &inmsg.cmd;
-	u64 parametersAddr = 0;
-	u32 parametersBytes = 0;
+	u64 parametersaddr = 0;
+	u32 parametersbytes = 0;
 	PARSER_CONTEXT *parser_ctx = NULL;
-	BOOL isLocalAddr = FALSE;
+	BOOL islocaladdr = FALSE;
 	struct controlvm_message ackmsg;
 
 	/* create parsing context if necessary */
-	isLocalAddr = (inmsg.hdr.flags.test_message == 1);
+	islocaladdr = (inmsg.hdr.flags.test_message == 1);
 	if (channel_addr == 0) {
 		LOGERR("HUH? channel_addr is 0!");
 		return TRUE;
 	}
-	parametersAddr = channel_addr + inmsg.hdr.payload_vm_offset;
-	parametersBytes = inmsg.hdr.payload_bytes;
+	parametersaddr = channel_addr + inmsg.hdr.payload_vm_offset;
+	parametersbytes = inmsg.hdr.payload_bytes;
 
 	/* Parameter and channel addresses within test messages actually lie
 	 * within our OS-controlled memory.  We need to know that, because it
 	 * makes a difference in how we compute the virtual address.
 	 */
-	if (parametersAddr != 0 && parametersBytes != 0) {
+	if (parametersaddr != 0 && parametersbytes != 0) {
 		BOOL retry = FALSE;
 
 		parser_ctx =
-		    parser_init_byteStream(parametersAddr, parametersBytes,
-					   isLocalAddr, &retry);
+		    parser_init_byteStream(parametersaddr, parametersbytes,
+					   islocaladdr, &retry);
 		if (!parser_ctx) {
 			if (retry) {
 				LOGWRN("throttling to copy payload");
@@ -1827,13 +1827,13 @@ handle_command(struct controlvm_message inmsg, HOSTADDRESS channel_addr)
 			}
 			LOGWRN("parsing failed");
 			LOGWRN("inmsg.hdr.Id=0x%lx", (ulong)inmsg.hdr.id);
-			LOGWRN("parametersAddr=0x%llx", (u64)parametersAddr);
-			LOGWRN("parametersBytes=%lu", (ulong)parametersBytes);
-			LOGWRN("isLocalAddr=%d", isLocalAddr);
+			LOGWRN("parametersAddr=0x%llx", (u64)parametersaddr);
+			LOGWRN("parametersBytes=%lu", (ulong)parametersbytes);
+			LOGWRN("isLocalAddr=%d", islocaladdr);
 		}
 	}
 
-	if (!isLocalAddr) {
+	if (!islocaladdr) {
 		controlvm_init_response(&ackmsg, &inmsg.hdr,
 					CONTROLVM_RESP_SUCCESS);
 		if ((controlvm_channel) &&
-- 
1.8.4

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




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux