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

staging: unisys: fix CamelCase variable Controlvm_Payload_Bytes_Buffered

Fix camelcase name:
Controlvm_Payload_Bytes_Buffered => controlvm_payload_bytes_buffered
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3d8dbdbf
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* incoming payloads. This serves as a throttling mechanism. * incoming payloads. This serves as a throttling mechanism.
*/ */
#define MAX_CONTROLVM_PAYLOAD_BYTES (1024*128) #define MAX_CONTROLVM_PAYLOAD_BYTES (1024*128)
static ulong Controlvm_Payload_Bytes_Buffered; static ulong controlvm_payload_bytes_buffered;
struct PARSER_CONTEXT_Tag { struct PARSER_CONTEXT_Tag {
ulong allocbytes; ulong allocbytes;
...@@ -57,7 +57,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal, ...@@ -57,7 +57,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal,
* '\0'-terminated * '\0'-terminated
*/ */
allocbytes++; allocbytes++;
if ((Controlvm_Payload_Bytes_Buffered + bytes) if ((controlvm_payload_bytes_buffered + bytes)
> MAX_CONTROLVM_PAYLOAD_BYTES) { > MAX_CONTROLVM_PAYLOAD_BYTES) {
if (tryAgain) if (tryAgain)
*tryAgain = TRUE; *tryAgain = TRUE;
...@@ -124,7 +124,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal, ...@@ -124,7 +124,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal,
rgn = NULL; rgn = NULL;
} }
if (rc) if (rc)
Controlvm_Payload_Bytes_Buffered += ctx->param_bytes; controlvm_payload_bytes_buffered += ctx->param_bytes;
else { else {
if (ctx) { if (ctx) {
parser_done(ctx); parser_done(ctx);
...@@ -224,7 +224,7 @@ parser_done(PARSER_CONTEXT *ctx) ...@@ -224,7 +224,7 @@ parser_done(PARSER_CONTEXT *ctx)
{ {
if (!ctx) if (!ctx)
return; return;
Controlvm_Payload_Bytes_Buffered -= ctx->param_bytes; controlvm_payload_bytes_buffered -= ctx->param_bytes;
kfree(ctx); kfree(ctx);
} }
......
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