WARNING: line length of 82 exceeds 80 columns #113: FILE: include/asm-generic/rqspinlock.h:70: + * complicated and we don't have a compelling use case for out of order unlocking. WARNING: line length of 89 exceeds 80 columns #194: FILE: kernel/locking/rqspinlock.c:86: +static bool is_lock_released(rqspinlock_t *lock, u32 mask, struct rqspinlock_timeout *ts) WARNING: line length of 81 exceeds 80 columns #235: FILE: kernel/locking/rqspinlock.c:127: + * O(NR_CPUS) if we could determine the owning CPU from a lock value, but WARNING: line length of 91 exceeds 80 columns #239: FILE: kernel/locking/rqspinlock.c:131: + struct rqspinlock_held *rqh_cpu = per_cpu_ptr(&rqspinlock_held_locks, cpu); WARNING: line length of 86 exceeds 80 columns #244: FILE: kernel/locking/rqspinlock.c:136: + * Let's ensure to break out of this loop if the lock is available for WARNING: line length of 87 exceeds 80 columns #251: FILE: kernel/locking/rqspinlock.c:143: + * Skip ourselves, and CPUs whose count is less than 2, as they need at WARNING: line length of 84 exceeds 80 columns #252: FILE: kernel/locking/rqspinlock.c:144: + * least one held lock and one acquisition attempt (reflected as top WARNING: line length of 83 exceeds 80 columns #255: FILE: kernel/locking/rqspinlock.c:147: + * If cnt is more than RES_NR_HELD, it means the current lock being WARNING: line length of 87 exceeds 80 columns #256: FILE: kernel/locking/rqspinlock.c:148: + * acquired won't appear in the table, and other locks in the table are WARNING: line length of 88 exceeds 80 columns #259: FILE: kernel/locking/rqspinlock.c:151: + if (cpu == smp_processor_id() || real_cnt < 2 || real_cnt > RES_NR_HELD) WARNING: line length of 84 exceeds 80 columns #275: FILE: kernel/locking/rqspinlock.c:167: + * Find if the lock we're attempting to acquire is held by this CPU. WARNING: line length of 84 exceeds 80 columns #276: FILE: kernel/locking/rqspinlock.c:168: + * Don't consider the topmost entry, as that must be the latest lock WARNING: line length of 84 exceeds 80 columns #277: FILE: kernel/locking/rqspinlock.c:169: + * being held or acquired. For a deadlock, the target CPU must also WARNING: line length of 87 exceeds 80 columns #278: FILE: kernel/locking/rqspinlock.c:170: + * attempt to acquire a lock we hold, so for this search only 'cnt - 1' WARNING: Argument 'mask' is not used in function-like macro #362: FILE: kernel/locking/rqspinlock.c:249: +#define RES_CHECK_TIMEOUT(ts, ret, mask) \ ({ (ret) = check_timeout(&(ts)); }) WARNING: line length of 109 exceeds 80 columns #392: FILE: kernel/locking/rqspinlock.c:370: + res_smp_cond_load_acquire(&lock->locked, !VAL || RES_CHECK_TIMEOUT(ts, ret, _Q_LOCKED_MASK)); WARNING: line length of 95 exceeds 80 columns #434: FILE: kernel/locking/rqspinlock.c:525: + RES_CHECK_TIMEOUT(ts, ret, _Q_LOCKED_PENDING_MASK)); total: 0 errors, 17 warnings, 0 checks, 384 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 8a8b91441281 ("rqspinlock: Add deadlock detection and recovery") 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, 17 warnings, 0 checks, 384 lines checked