WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #78: FILE: arch/arm64/include/asm/cmpxchg.h:241: +static inline void __cmpwait_case_timeout_##sz(volatile void *ptr, \ ERROR: space prohibited before that ',' (ctx:WxW) #99: FILE: arch/arm64/include/asm/cmpxchg.h:262: +__CMPWAIT_TIMEOUT_CASE(w, , 32); ^ ERROR: space prohibited before that ',' (ctx:WxW) #100: FILE: arch/arm64/include/asm/cmpxchg.h:263: +__CMPWAIT_TIMEOUT_CASE( , , 64); ^ ERROR: space prohibited after that open parenthesis '(' #100: FILE: arch/arm64/include/asm/cmpxchg.h:263: +__CMPWAIT_TIMEOUT_CASE( , , 64); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #105: FILE: arch/arm64/include/asm/cmpxchg.h:268: +static __always_inline void __cmpwait##timeout##sfx(volatile void *ptr, \ ERROR: space prohibited after that open parenthesis '(' #135: FILE: arch/arm64/include/asm/cmpxchg.h:293: +__CMPWAIT_GEN( , ) ERROR: space prohibited before that close parenthesis ')' #135: FILE: arch/arm64/include/asm/cmpxchg.h:293: +__CMPWAIT_GEN( , ) ERROR: space prohibited before that close parenthesis ')' #136: FILE: arch/arm64/include/asm/cmpxchg.h:294: +__CMPWAIT_GEN(_timeout, ) WARNING: line length of 82 exceeds 80 columns #143: FILE: arch/arm64/include/asm/cmpxchg.h:299: + __cmpwait_timeout((ptr), (unsigned long)(val), timeout_ns, sizeof(*(ptr))) total: 6 errors, 3 warnings, 0 checks, 114 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 4530970e1486 ("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.