Merge tag 'block-5.15-2021-09-05' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / lib / kstrtox.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LIB_KSTRTOX_H
3 #define _LIB_KSTRTOX_H
4
5 #define KSTRTOX_OVERFLOW        (1U << 31)
6 const char *_parse_integer_fixup_radix(const char *s, unsigned int *base);
7 unsigned int _parse_integer_limit(const char *s, unsigned int base, unsigned long long *res,
8                                   size_t max_chars);
9 unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *res);
10
11 #endif