projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec77e2
)
compat: build kstrtox for kernel < 2.6.25
author
Hauke Mehrtens
<hauke@hauke-m.de>
Thu, 28 Mar 2013 19:18:27 +0000
(20:18 +0100)
committer
Luis R. Rodriguez
<mcgrof@do-not-panic.com>
Fri, 29 Mar 2013 00:31:32 +0000
(17:31 -0700)
strict_strtol with one l is defined in compat-2.6.25.h code now and
this deactivates this check, use strict_strtoll instead.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat/kstrtox.c
patch
|
blob
|
history
diff --git
a/compat/kstrtox.c
b/compat/kstrtox.c
index 266ffbc91bf76521ec54b9311ae06acd588dbf1d..fdbc56eb3f0486bc9520df0a0564b1b503e5cefe 100644
(file)
--- a/
compat/kstrtox.c
+++ b/
compat/kstrtox.c
@@
-17,7
+17,7
@@
* version included in compat-drivers. We use strict_strtol to check if
* kstrto* is already available.
*/
-#ifndef strict_strtol
+#ifndef strict_strtol
l
#include <linux/ctype.h>
#include <linux/errno.h>