|
@@ -357,6 +357,7 @@ int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
|
|
|
int __must_check kstrtos16(const char *s, unsigned int base, s16 *res);
|
|
|
int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
|
|
|
int __must_check kstrtos8(const char *s, unsigned int base, s8 *res);
|
|
|
+int __must_check kstrtobool(const char *s, bool *res);
|
|
|
|
|
|
int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigned long long *res);
|
|
|
int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long long *res);
|
|
@@ -368,6 +369,7 @@ int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigne
|
|
|
int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
|
|
|
int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
|
|
|
int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
|
|
|
+int __must_check kstrtobool_from_user(const char __user *s, size_t count, bool *res);
|
|
|
|
|
|
static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res)
|
|
|
{
|