WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #39: new file mode 100644 WARNING: memory barrier without comment #101: FILE: arch/arm64/include/asm/rqspinlock.h:58: + VAL = smp_load_acquire(__PTR); \ CHECK: Macro argument 'ptr' may be better as '(ptr)' to avoid precedence issues #111: FILE: arch/arm64/include/asm/rqspinlock.h:68: +#define smp_cond_load_acquire_timewait(ptr, cond_expr, \ + time_expr_ns, time_limit_ns) \ +({ \ + __unqual_scalar_typeof(*ptr) _val; \ + int __wfe = arch_timer_evtstrm_available(); \ + \ + if (likely(__wfe)) { \ + _val = __smp_cond_load_acquire_timewait(ptr, cond_expr, \ + time_expr_ns, \ + time_limit_ns); \ + } else { \ + _val = __smp_cond_load_relaxed_spinwait(ptr, cond_expr, \ + time_expr_ns, \ + time_limit_ns); \ + smp_acquire__after_ctrl_dep(); \ + } \ + (typeof(*ptr))_val; \ +}) WARNING: line length of 91 exceeds 80 columns #132: FILE: arch/arm64/include/asm/rqspinlock.h:89: +#define res_smp_cond_load_acquire_timewait(v, c) smp_cond_load_acquire_timewait(v, c, 0, 1) WARNING: Argument 'mask' is not used in function-like macro #157: FILE: kernel/bpf/rqspinlock.c:107: +#define RES_CHECK_TIMEOUT(ts, ret, mask) \ + ({ (ret) = check_timeout(&(ts)); }) WARNING: line length of 88 exceeds 80 columns #171: FILE: kernel/bpf/rqspinlock.c:134: +#define res_atomic_cond_read_acquire(v, c) res_smp_cond_load_acquire(&(v)->counter, (c)) total: 0 errors, 5 warnings, 1 checks, 126 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 9ee1781c7377 ("rqspinlock: Hardcode cond_acquire loops for arm64") 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, 5 warnings, 1 checks, 126 lines checked