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

staging: unisys: fix spacing in parser.c

Fix the two spacing errors in parser.c.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a72afb9
...@@ -84,6 +84,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal, ...@@ -84,6 +84,7 @@ parser_init_guts(u64 addr, u32 bytes, BOOL isLocal,
ctx->byte_stream = FALSE; ctx->byte_stream = FALSE;
if (isLocal) { if (isLocal) {
void *p; void *p;
if (addr > virt_to_phys(high_memory - 1)) { if (addr > virt_to_phys(high_memory - 1)) {
ERRDRV("%s - bad local address (0x%-16.16Lx for %lu)", ERRDRV("%s - bad local address (0x%-16.16Lx for %lu)",
__func__, __func__,
...@@ -257,6 +258,7 @@ static int ...@@ -257,6 +258,7 @@ static int
string_length_no_trail(char *s, int len) string_length_no_trail(char *s, int len)
{ {
int i = len - 1; int i = len - 1;
while (i >= 0) { while (i >= 0) {
if (!isspace(s[i])) if (!isspace(s[i]))
return i + 1; return i + 1;
......
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