]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: fix CamelCase variable Controlvm_Payload_Bytes_Buffered
authorBenjamin Romer <benjamin.romer@unisys.com>
Mon, 16 Mar 2015 17:57:50 +0000 (13:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 13:19:16 +0000 (14:19 +0100)
Fix camelcase name:
Controlvm_Payload_Bytes_Buffered => controlvm_payload_bytes_buffered

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/parser.c

index 0683472ba47c56fe056861f96d7ddd698cbd92c8..959d540eef52976c01d40d533b7b6c5b51b1999c 100644 (file)
@@ -29,7 +29,7 @@
  * incoming payloads.  This serves as a throttling mechanism.
  */
 #define MAX_CONTROLVM_PAYLOAD_BYTES (1024*128)
-static ulong Controlvm_Payload_Bytes_Buffered;
+static ulong controlvm_payload_bytes_buffered;
 
 struct PARSER_CONTEXT_Tag {
        ulong allocbytes;
@@ -57,7 +57,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal,
                 * '\0'-terminated
                 */
                allocbytes++;
-       if ((Controlvm_Payload_Bytes_Buffered + bytes)
+       if ((controlvm_payload_bytes_buffered + bytes)
            > MAX_CONTROLVM_PAYLOAD_BYTES) {
                if (tryAgain)
                        *tryAgain = TRUE;
@@ -124,7 +124,7 @@ Away:
                rgn = NULL;
        }
        if (rc)
-               Controlvm_Payload_Bytes_Buffered += ctx->param_bytes;
+               controlvm_payload_bytes_buffered += ctx->param_bytes;
        else {
                if (ctx) {
                        parser_done(ctx);
@@ -224,7 +224,7 @@ parser_done(PARSER_CONTEXT *ctx)
 {
        if (!ctx)
                return;
-       Controlvm_Payload_Bytes_Buffered -= ctx->param_bytes;
+       controlvm_payload_bytes_buffered -= ctx->param_bytes;
        kfree(ctx);
 }