mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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: André Goddard Rosa <andre.goddard@gmail.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7707e61c70
commit
4e62b09302
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
#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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue