WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #83: FILE: arch/arm64/include/asm/cmpxchg.h:242: +static inline void __cmpwait_case_timeout_##sz(volatile void *ptr, \ ERROR: space prohibited before that ',' (ctx:WxW) #104: FILE: arch/arm64/include/asm/cmpxchg.h:263: +__CMPWAIT_TIMEOUT_CASE(w, , 32); ^ ERROR: space prohibited before that ',' (ctx:WxW) #105: FILE: arch/arm64/include/asm/cmpxchg.h:264: +__CMPWAIT_TIMEOUT_CASE( , , 64); ^ ERROR: space prohibited after that open parenthesis '(' #105: FILE: arch/arm64/include/asm/cmpxchg.h:264: +__CMPWAIT_TIMEOUT_CASE( , , 64); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #110: FILE: arch/arm64/include/asm/cmpxchg.h:269: +static __always_inline void __cmpwait##timeout##sfx(volatile void *ptr, \ ERROR: space prohibited after that open parenthesis '(' #140: FILE: arch/arm64/include/asm/cmpxchg.h:294: +__CMPWAIT_GEN( , ) ERROR: space prohibited before that close parenthesis ')' #140: FILE: arch/arm64/include/asm/cmpxchg.h:294: +__CMPWAIT_GEN( , ) ERROR: space prohibited before that close parenthesis ')' #141: FILE: arch/arm64/include/asm/cmpxchg.h:295: +__CMPWAIT_GEN(_timeout, ) WARNING: line length of 82 exceeds 80 columns #148: FILE: arch/arm64/include/asm/cmpxchg.h:300: + __cmpwait_timeout((ptr), (unsigned long)(val), timeout_ns, sizeof(*(ptr))) total: 6 errors, 3 warnings, 0 checks, 119 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 be0679b96be2 ("arm64: support WFET in smp_cond_load_relaxed_timeout()") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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.