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

staging: unisys: refactor parser_init_byteStream

Fix CamelCase names:
parser_init_byteStream => parser_init_byte_stream
isLocal => local
tryAgain => retry

Update references to the changed function name.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 807dc066
......@@ -146,9 +146,9 @@ parser_init(u64 addr, u32 bytes, BOOL local, BOOL *retry)
* parser_byteStream_get() to obtain the data.
*/
struct parser_context *
parser_init_byteStream(u64 addr, u32 bytes, BOOL isLocal, BOOL *tryAgain)
parser_init_byte_stream(u64 addr, u32 bytes, BOOL local, BOOL *retry)
{
return parser_init_guts(addr, bytes, isLocal, FALSE, tryAgain);
return parser_init_guts(addr, bytes, local, FALSE, retry);
}
/* Obtain '\0'-terminated copy of string in payload area.
......
......@@ -32,8 +32,8 @@ typedef enum {
struct parser_context *parser_init(u64 addr, u32 bytes, BOOL isLocal,
BOOL *tryAgain);
struct parser_context *parser_init_byteStream(u64 addr, u32 bytes, BOOL isLocal,
BOOL *tryAgain);
struct parser_context *parser_init_byte_stream(u64 addr, u32 bytes, BOOL local,
BOOL *retry);
void parser_param_start(struct parser_context *ctx,
PARSER_WHICH_STRING which_string);
void *parser_param_get(struct parser_context *ctx, char *nam, int namesize);
......
......@@ -1717,7 +1717,7 @@ handle_command(struct controlvm_message inmsg, HOSTADDRESS channel_addr)
BOOL retry = FALSE;
parser_ctx =
parser_init_byteStream(parametersAddr, parametersBytes,
parser_init_byte_stream(parametersAddr, parametersBytes,
isLocalAddr, &retry);
if (!parser_ctx && retry)
return FALSE;
......
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