Commit graph

3 commits

Author SHA1 Message Date
Vladimir Kondratyev
ad02fbb036 LinuxKPI: Convert Linux integer types to ISO C99 in linux/kstrtox.h
Sponsored by:	Serenity Cyber Security, LLC
MFC after:	1 week
Reviewed by:	bz, emaste
Differential Revision:	https://reviews.freebsd.org/D45465

(cherry picked from commit db42bd1f71b1a29b392aacbd5b7aaca4c8d7e85d)
2024-08-02 00:09:40 +03:00
Vladimir Kondratyev
89e36e9f29 LinuxKPI: Add kstrtoll to linux/kstrtox.h
kstrtoll converts a string to a long long.

Sponsored by:	Serenity Cyber Security, LLC
MFC after:	1 week
Reviewed by:	bz, emaste
Differential Revision:	https://reviews.freebsd.org/D45455

(cherry picked from commit d207a2dee332706c352bf35c7e6ecea5240b1ceb)
2024-08-02 00:09:40 +03:00
Vladimir Kondratyev
fb884c7244 LinuxKPI: Move kstrto* functions to linux/kstrtox.h
from linux/kernel.h to match Linux and
allow direct linux/kstrtox.h inclusion.

Sponsored by:	Serenity Cyber Security, LLC
MFC after:	1 week
Reviewed by:	bz
Differential Revision:	https://reviews.freebsd.org/D45454

(cherry picked from commit a97f3a9ec96a2de542326a158d1ab8e65ad4fe5f)
2024-08-02 00:09:40 +03:00