WARNING: Single statement macros should not use a do {} while (0) loop #106: FILE: include/linux/local_lock_internal.h:167: +#define __local_unlock_nested_bh(lock) \ +do { \ + spin_unlock(this_cpu_ptr((lock))); \ +} while (0) CHECK: extern prototypes should be avoided in .h files #120: FILE: include/linux/lockdep.h:608: +extern void lockdep_assert_in_softirq_func(void); total: 0 errors, 1 warnings, 1 checks, 87 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit efecafef7710 ("locking/local_lock: Add local nested BH locking infrastructure.") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 1 warnings, 1 checks, 87 lines checked