Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175837232
D44583.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D44583.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/kmod.h b/sys/compat/linuxkpi/common/include/linux/kmod.h
--- a/sys/compat/linuxkpi/common/include/linux/kmod.h
+++ b/sys/compat/linuxkpi/common/include/linux/kmod.h
@@ -39,9 +39,8 @@
#define request_module(...) \
({\
char modname[128]; \
- int fileid; \
snprintf(modname, sizeof(modname), __VA_ARGS__); \
- kern_kldload(curthread, modname, &fileid); \
+ kern_kldload(curthread, modname, NULL); \
})
#define request_module_nowait request_module
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 14, 6:47 PM (4 h, 59 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40814351
Default Alt Text
D44583.diff (509 B)
Attached To
Mode
D44583: LinuxKPI: Remove an unused local var fileid from the macro request_module
Attached
Detach File
Event Timeline
Log In to Comment