Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206017
b: refs/heads/master
c: ecd3d0c
h: refs/heads/master
i:
  206015: 2b52520
v: v3
  • Loading branch information
Ernesto Ramos authored and Greg Kroah-Hartman committed Jul 28, 2010
1 parent 825c0e4 commit 5506880
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3c8aef0a2334e088c21757d3143954c774c6da0
refs/heads/master: ecd3d0ca4006f86a542bfd5ed1277cac6b2df3be
6 changes: 5 additions & 1 deletion trunk/drivers/staging/tidspbridge/rmgr/dbdcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,8 @@ static s32 atoi(char *psz_buf)
{
char *pch = psz_buf;
s32 base = 0;
unsigned long res;
int ret_val;

while (isspace(*pch))
pch++;
Expand All @@ -1023,7 +1025,9 @@ static s32 atoi(char *psz_buf)
base = 16;
}

return simple_strtoul(pch, NULL, base);
ret_val = strict_strtoul(pch, base, &res);

return ret_val ? : res;
}

/*
Expand Down

0 comments on commit 5506880

Please sign in to comment.