aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kstrtox.h
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2021-06-29 09:51:58 +0200
committerPetr Mladek <pmladek@suse.com>2021-06-29 09:51:58 +0200
commitd8c032145fccfead0c3f733e7b6aaa4e81f9d326 (patch)
tree7b150b83d4341c8bc646f33a7b0cb928dab4ee8a /lib/kstrtox.h
parent80ae552917228b97ca9f7df83f74ac306d6fd68f (diff)
parentd327ea15a305024ef0085252fa3657bbb1ce25f5 (diff)
downloadlinux-d8c032145fccfead0c3f733e7b6aaa4e81f9d326.tar.gz
Merge branch 'for-5.14-vsprintf-scanf' into for-linus
Diffstat (limited to 'lib/kstrtox.h')
-rw-r--r--lib/kstrtox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kstrtox.h b/lib/kstrtox.h
index 3b4637bcd2540d..158c400ca8658e 100644
--- a/lib/kstrtox.h
+++ b/lib/kstrtox.h
@@ -4,6 +4,8 @@
#define KSTRTOX_OVERFLOW (1U << 31)
const char *_parse_integer_fixup_radix(const char *s, unsigned int *base);
+unsigned int _parse_integer_limit(const char *s, unsigned int base, unsigned long long *res,
+ size_t max_chars);
unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *res);
#endif