Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102181627
D34350.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
488 B
Referenced Files
None
Subscribers
None
D34350.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -700,7 +700,7 @@
}
#define DECLARE_FLEX_ARRAY(_t, _n) \
- struct { struct { } __dummy_ ## _n; _t _n[]; }
+ struct { struct { } __dummy_ ## _n; _t _n[0]; }
/*
* Checking if an option is defined would be easy if we could do CPP inside CPP.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 2:53 PM (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14562120
Default Alt Text
D34350.diff (488 B)
Attached To
Mode
D34350: LinuxKPI: change DECLARE_FLEX_ARRAY()
Attached
Detach File
Event Timeline
Log In to Comment