We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef8e411 commit 567595fCopy full SHA for 567595f
triage/linux-3.11/linux-3.11.h
@@ -0,0 +1,10 @@
1
+
2
+#define BUG_ON(C) if (C) exit(1)
3
+#define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0]))
4
5
+#define container_of(ptr, type, member) ({ \
6
+ const typeof( ((type *)0)->member ) *__mptr = (ptr); \
7
+ (type *)( (char *)__mptr - offsetof(type,member) );})
8
9
+void panic(const char *fmt, ...) __attribute__((noreturn));
10
triage/linux-3.11/runcppcheck.cmd
@@ -0,0 +1,2 @@
+# command used to generate error report for linux-3.11
+cppcheck --include=linux-3.11.h --platform=unix64 linux-3.11
0 commit comments