WARNING: line length of 94 exceeds 80 columns #58: FILE: include/asm-generic/rqspinlock.h:22: +extern void resilient_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val, u64 timeout); CHECK: extern prototypes should be avoided in .h files #58: FILE: include/asm-generic/rqspinlock.h:22: +extern void resilient_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val, u64 timeout); WARNING: line length of 85 exceeds 80 columns #120: FILE: kernel/locking/rqspinlock.c:105: +#define RES_INIT_TIMEOUT(ts, _timeout) ({ (ts).spin = 1; (ts).duration = _timeout; }) WARNING: line length of 82 exceeds 80 columns #123: FILE: kernel/locking/rqspinlock.c:108: + * We only need to reset 'timeout_end', 'spin' will just wrap around as necessary. WARNING: line length of 97 exceeds 80 columns #135: FILE: kernel/locking/rqspinlock.c:141: +void __lockfunc resilient_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val, u64 timeout) total: 0 errors, 4 warnings, 1 checks, 96 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 87342e82aee1 ("rqspinlock: Add support for timeouts") 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, 4 warnings, 1 checks, 96 lines checked