triage: added runcppcheck.cmd and linux-3.11.h in linux-3.11 folder to make results easier to reproduce
This commit is contained in:
parent
ef8e4111aa
commit
567595fb27
|
@ -0,0 +1,10 @@
|
|||
|
||||
#define BUG_ON(C) if (C) exit(1)
|
||||
#define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0]))
|
||||
|
||||
#define container_of(ptr, type, member) ({ \
|
||||
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||
(type *)( (char *)__mptr - offsetof(type,member) );})
|
||||
|
||||
void panic(const char *fmt, ...) __attribute__((noreturn));
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue