Skip to content

Commit

Permalink
drivers/scsi/sym53c8xx_2/sym_glue.c: rename skip_spaces() to sym_skip…
Browse files Browse the repository at this point in the history
…_spaces()

To avoid a collision with the newly-added kernel-wide skip_spaces().

Signed-off-by: André Goddard Rosa <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Dec 15, 2009
1 parent 7707e61 commit 4e62b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/sym53c8xx_2/sym_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1012,7 +1012,7 @@ static int is_keyword(char *ptr, int len, char *verb)
}

#define SKIP_SPACES(ptr, len) \
if ((arg_len = skip_spaces(ptr, len)) < 1) \
if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \
return -EINVAL; \
ptr += arg_len; len -= arg_len;

Expand Down

0 comments on commit 4e62b09

Please sign in to comment.