CHECK: extern prototypes should be avoided in .h files #41: FILE: include/asm-generic/rqspinlock.h:18: +extern int resilient_queued_spin_lock_slowpath(rqspinlock_t *lock, u32 val); WARNING: line length of 82 exceeds 80 columns #56: FILE: kernel/locking/lock_events_list.h:55: +LOCK_EVENT(rqspinlock_lock_timeout) /* # of locking ops that timeout */ WARNING: line length of 93 exceeds 80 columns #88: FILE: kernel/locking/rqspinlock.c:222: + res_smp_cond_load_acquire(&lock->locked, !VAL || RES_CHECK_TIMEOUT(ts, ret)); total: 0 errors, 2 warnings, 1 checks, 74 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 2e8cb31d2248 ("rqspinlock: Protect pending bit owners from stalls") 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, 2 warnings, 1 checks, 74 lines checked