Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142939515
D40814.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
466 B
Referenced Files
None
Subscribers
None
D40814.diff
View Options
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -520,10 +520,9 @@
id = mod->id;
refs = mod->refs;
name = mod->name;
- CP(mod->data, data32, intval);
+ _Static_assert(sizeof(data32) == sizeof(data32.uintval),
+ "bad modspecific32_t size");
CP(mod->data, data32, uintval);
- CP(mod->data, data32, longval);
- CP(mod->data, data32, ulongval);
MOD_SUNLOCK;
stat32 = uap->stat;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 8:22 PM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27927260
Default Alt Text
D40814.diff (466 B)
Attached To
Mode
D40814: modules: fix freebsd32_modstat on big endian platforms
Attached
Detach File
Event Timeline
Log In to Comment