diff options
| author | Petr Mladek <pmladek@suse.com> | 2021-06-29 09:51:58 +0200 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2021-06-29 09:51:58 +0200 |
| commit | d8c032145fccfead0c3f733e7b6aaa4e81f9d326 (patch) | |
| tree | 7b150b83d4341c8bc646f33a7b0cb928dab4ee8a /lib/kstrtox.h | |
| parent | 80ae552917228b97ca9f7df83f74ac306d6fd68f (diff) | |
| parent | d327ea15a305024ef0085252fa3657bbb1ce25f5 (diff) | |
| download | linux-d8c032145fccfead0c3f733e7b6aaa4e81f9d326.tar.gz | |
Merge branch 'for-5.14-vsprintf-scanf' into for-linus
Diffstat (limited to 'lib/kstrtox.h')
| -rw-r--r-- | lib/kstrtox.h | 2 |
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 |
