]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: olpc_dcon: revert strtoul change
authorAndres Salomon <dilinger@queued.net>
Sun, 6 Feb 2011 22:38:16 +0000 (14:38 -0800)
committerGreg 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

index b19cd349f93371b52be61e79a89d83902078743c..d6ad5d7a14570b5c4ead7085716e588eaea30873 100644 (file)
@@ -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))