Page MenuHomeFreeBSD

D34350.diff
No OneTemporary

D34350.diff

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

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)

Event Timeline