Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ spatch --recursive-includes -I ofed/include -I . --verbose-parsing -parse-h ofed/include/linux/spinlock.h
- init_defs_builtins: /usr/local/share/coccinelle/standard.h
- PARSING: ofed/include/linux/spinlock.h
- ERROR-RECOV: found sync end of #define, line 66
- parsing pass2: try again
- ERROR-RECOV: found sync end of #define, line 66
- parse error
- = File "ofed/include/linux/spinlock.h", line 67, column 0, charpos = 2505
- around = '', whole content =
- badcount: 4
- bad: }
- bad:
- bad: #define DEFINE_SPINLOCK(lock) \
- bad: spinlock_t lock; \
- BAD:!!!!! MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- -----------------------------------------------------------------------
- maybe 10 most problematic tokens
- -----------------------------------------------------------------------
- lock: present in 4 parsing errors
- example:
- #define DEFINE_SPINLOCK(lock) \
- spinlock_t lock; \
- MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- DEFINE_SPINLOCK: present in 1 parsing errors
- example:
- #define DEFINE_SPINLOCK(lock) \
- spinlock_t lock; \
- MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- MTX_DEF: present in 1 parsing errors
- example:
- #define DEFINE_SPINLOCK(lock) \
- spinlock_t lock; \
- MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- MTX_SYSINIT: present in 1 parsing errors
- example:
- #define DEFINE_SPINLOCK(lock) \
- spinlock_t lock; \
- MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- m: present in 1 parsing errors
- example:
- #define DEFINE_SPINLOCK(lock) \
- spinlock_t lock; \
- MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- spinlock_t: present in 1 parsing errors
- example:
- #define DEFINE_SPINLOCK(lock) \
- spinlock_t lock; \
- MTX_SYSINIT(lock, &(lock).m, "lnxspin", MTX_DEF)
- -----------------------------------------------------------------------
- NB total files = 1; perfect = 0; pbs = 1; timeout = 0; =========> 0%
- nb good = 63, nb passed = 0 =========> 0.000000% passed
- nb good = 63, nb bad = 4 =========> 94.029851% good
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement