mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: Implement kstrtoull
Required by drm-kmod 5.7 MFC after: 1 week Reviewed by: hselasky, manu Differential Revision: https://reviews.freebsd.org/D33291
This commit is contained in:
parent
bc923d93df
commit
c427456fd5
1 changed files with 6 additions and 0 deletions
|
|
@ -465,6 +465,12 @@ kstrtou64(const char *cp, unsigned int base, u64 *res)
|
|||
return (0);
|
||||
}
|
||||
|
||||
static inline int
|
||||
kstrtoull(const char *cp, unsigned int base, unsigned long long *res)
|
||||
{
|
||||
return (kstrtou64(cp, base, (u64 *)res));
|
||||
}
|
||||
|
||||
static inline int
|
||||
kstrtobool(const char *s, bool *res)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue