Commit 4e62b093 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

drivers/scsi/sym53c8xx_2/sym_glue.c: rename skip_spaces() to sym_skip_spaces()

To avoid a collision with the newly-added kernel-wide skip_spaces().
Signed-off-by: default avatarAndré Goddard Rosa <andre.goddard@gmail.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7707e61c
...@@ -984,7 +984,7 @@ static void sym_exec_user_command (struct sym_hcb *np, struct sym_usrcmd *uc) ...@@ -984,7 +984,7 @@ static void sym_exec_user_command (struct sym_hcb *np, struct sym_usrcmd *uc)
} }
} }
static int skip_spaces(char *ptr, int len) static int sym_skip_spaces(char *ptr, int len)
{ {
int cnt, c; int cnt, c;
...@@ -1012,7 +1012,7 @@ static int is_keyword(char *ptr, int len, char *verb) ...@@ -1012,7 +1012,7 @@ static int is_keyword(char *ptr, int len, char *verb)
} }
#define SKIP_SPACES(ptr, len) \ #define SKIP_SPACES(ptr, len) \
if ((arg_len = skip_spaces(ptr, len)) < 1) \ if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \
return -EINVAL; \ return -EINVAL; \
ptr += arg_len; len -= arg_len; ptr += arg_len; len -= arg_len;
......
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