projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef0c05
)
staging: olpc_dcon: revert strtoul change
author
Andres Salomon
<dilinger@queued.net>
Sun, 6 Feb 2011 22:38:16 +0000
(14:38 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 9 Feb 2011 20:11:53 +0000
(12:11 -0800)
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: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/olpc_dcon/olpc_dcon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/olpc_dcon/olpc_dcon.c
b/drivers/staging/olpc_dcon/olpc_dcon.c
index b19cd349f93371b52be61e79a89d83902078743c..d6ad5d7a14570b5c4ead7085716e588eaea30873 100644
(file)
--- a/
drivers/staging/olpc_dcon/olpc_dcon.c
+++ b/
drivers/staging/olpc_dcon/olpc_dcon.c
@@
-525,7
+525,7
@@
static int _strtoul(const char *buf, int len, unsigned int *val)
{
char *endp;
- unsigned int output = s
trict
_strtoul(buf, &endp, 0);
+ unsigned int output = s
imple
_strtoul(buf, &endp, 0);
int size = endp - buf;
if (*endp && isspace(*endp))