Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149853267
D48744.1791035363.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
D48744.1791035363.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/kstrtox.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/kstrtox.h
+++ sys/compat/linuxkpi/common/include/linux/kstrtox.h
@@ -179,6 +179,13 @@
return (kstrtouint(cp, base, res));
}
+static inline int
+kstrtos32(const char *cp, unsigned int base, int32_t *res)
+{
+
+ return (kstrtoint(cp, base, res));
+}
+
static inline int
kstrtos64(const char *cp, unsigned int base, int64_t *res)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 1:49 PM (2 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30134510
Default Alt Text
D48744.1791035363.diff (508 B)
Attached To
Mode
D48744: linuxkpi: Add `kstrtou32()`
Attached
Detach File
Event Timeline
Log In to Comment