Skip to content

Commit

Permalink
staging: olpc_dcon: revert strtoul change
Browse files Browse the repository at this point in the history
On Fri, 4 Feb 2011 15:44:43 -0800

From: Andres Salomon <dilinger@queued.net>

The s/simple_strtoul/strict_strtoul/ from commit e107e6e added a build
warning, as well as an oops.  This reverts that change.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andres Salomon authored and Greg Kroah-Hartman committed Feb 9, 2011
1 parent 2ef0c05 commit fe2d5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/olpc_dcon/olpc_dcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ static int _strtoul(const char *buf, int len, unsigned int *val)
{

char *endp;
unsigned int output = strict_strtoul(buf, &endp, 0);
unsigned int output = simple_strtoul(buf, &endp, 0);
int size = endp - buf;

if (*endp && isspace(*endp))
Expand Down

0 comments on commit fe2d5b4

Please sign in to comment.