提交 fe2d5b43 编写于 作者: A Andres Salomon 提交者: Greg Kroah-Hartman

staging: olpc_dcon: revert strtoul change

On Fri, 4 Feb 2011 15:44:43 -0800

From: Andres Salomon <dilinger@queued.net>

The s/simple_strtoul/strict_strtoul/ from commit e107e6eb added a build
warning, as well as an oops.  This reverts that change.
Signed-off-by: NAndres Salomon <dilinger@queued.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 2ef0c05e
...@@ -525,7 +525,7 @@ static int _strtoul(const char *buf, int len, unsigned int *val) ...@@ -525,7 +525,7 @@ static int _strtoul(const char *buf, int len, unsigned int *val)
{ {
char *endp; char *endp;
unsigned int output = strict_strtoul(buf, &endp, 0); unsigned int output = simple_strtoul(buf, &endp, 0);
int size = endp - buf; int size = endp - buf;
if (*endp && isspace(*endp)) if (*endp && isspace(*endp))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册