WARNING: line length of 81 exceeds 80 columns #84: FILE: arch/arm64/include/asm/cmpxchg.h:215: +#define __CMPWAIT_CASE(w, sfx, sz) \ WARNING: line length of 81 exceeds 80 columns #85: FILE: arch/arm64/include/asm/cmpxchg.h:216: +static inline void __cmpwait_case_##sz(volatile void *ptr, \ WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #85: FILE: arch/arm64/include/asm/cmpxchg.h:216: +static inline void __cmpwait_case_##sz(volatile void *ptr, \ WARNING: line length of 81 exceeds 80 columns #86: FILE: arch/arm64/include/asm/cmpxchg.h:217: + unsigned long val, \ WARNING: line length of 81 exceeds 80 columns #87: FILE: arch/arm64/include/asm/cmpxchg.h:218: + s64 timeout_ns) \ WARNING: line length of 81 exceeds 80 columns #88: FILE: arch/arm64/include/asm/cmpxchg.h:219: +{ \ WARNING: line length of 81 exceeds 80 columns #89: FILE: arch/arm64/include/asm/cmpxchg.h:220: + unsigned long tmp; \ WARNING: line length of 81 exceeds 80 columns #90: FILE: arch/arm64/include/asm/cmpxchg.h:221: + \ WARNING: line length of 81 exceeds 80 columns #91: FILE: arch/arm64/include/asm/cmpxchg.h:222: + if (!alternative_has_cap_unlikely(ARM64_HAS_WFXT) || timeout_ns <= 0) { \ WARNING: line length of 81 exceeds 80 columns #92: FILE: arch/arm64/include/asm/cmpxchg.h:223: + asm volatile( \ WARNING: line length of 81 exceeds 80 columns #93: FILE: arch/arm64/include/asm/cmpxchg.h:224: + " sevl\n" \ WARNING: line length of 81 exceeds 80 columns #94: FILE: arch/arm64/include/asm/cmpxchg.h:225: + " wfe\n" \ WARNING: line length of 81 exceeds 80 columns #95: FILE: arch/arm64/include/asm/cmpxchg.h:226: + " ldxr" #sfx "\t%" #w "[tmp], %[v]\n" \ WARNING: line length of 81 exceeds 80 columns #96: FILE: arch/arm64/include/asm/cmpxchg.h:227: + " eor %" #w "[tmp], %" #w "[tmp], %" #w "[val]\n" \ WARNING: line length of 81 exceeds 80 columns #97: FILE: arch/arm64/include/asm/cmpxchg.h:228: + " cbnz %" #w "[tmp], 1f\n" \ WARNING: line length of 81 exceeds 80 columns #98: FILE: arch/arm64/include/asm/cmpxchg.h:229: + " wfe\n" \ WARNING: line length of 81 exceeds 80 columns #99: FILE: arch/arm64/include/asm/cmpxchg.h:230: + "1:" \ WARNING: line length of 81 exceeds 80 columns #100: FILE: arch/arm64/include/asm/cmpxchg.h:231: + : [tmp] "=&r" (tmp), [v] "+Q" (*(u##sz *)ptr) \ WARNING: line length of 81 exceeds 80 columns #101: FILE: arch/arm64/include/asm/cmpxchg.h:232: + : [val] "r" (val)); \ WARNING: line length of 81 exceeds 80 columns #102: FILE: arch/arm64/include/asm/cmpxchg.h:233: + } else { \ WARNING: line length of 81 exceeds 80 columns #103: FILE: arch/arm64/include/asm/cmpxchg.h:234: + u64 ecycles = arch_timer_read_counter() + \ WARNING: line length of 81 exceeds 80 columns #104: FILE: arch/arm64/include/asm/cmpxchg.h:235: + NSECS_TO_CYCLES(timeout_ns); \ WARNING: line length of 81 exceeds 80 columns #105: FILE: arch/arm64/include/asm/cmpxchg.h:236: + asm volatile( \ WARNING: line length of 81 exceeds 80 columns #106: FILE: arch/arm64/include/asm/cmpxchg.h:237: + " sevl\n" \ WARNING: line length of 81 exceeds 80 columns #107: FILE: arch/arm64/include/asm/cmpxchg.h:238: + " wfe\n" \ WARNING: line length of 81 exceeds 80 columns #108: FILE: arch/arm64/include/asm/cmpxchg.h:239: + " ldxr" #sfx "\t%" #w "[tmp], %[v]\n" \ WARNING: line length of 81 exceeds 80 columns #109: FILE: arch/arm64/include/asm/cmpxchg.h:240: + " eor %" #w "[tmp], %" #w "[tmp], %" #w "[val]\n" \ WARNING: line length of 81 exceeds 80 columns #110: FILE: arch/arm64/include/asm/cmpxchg.h:241: + " cbnz %" #w "[tmp], 2f\n" \ WARNING: line length of 81 exceeds 80 columns #111: FILE: arch/arm64/include/asm/cmpxchg.h:242: + " msr s0_3_c1_c0_0, %[ecycles]\n" \ WARNING: line length of 81 exceeds 80 columns #112: FILE: arch/arm64/include/asm/cmpxchg.h:243: + "2:" \ WARNING: line length of 81 exceeds 80 columns #113: FILE: arch/arm64/include/asm/cmpxchg.h:244: + : [tmp] "=&r" (tmp), [v] "+Q" (*(u##sz *)ptr) \ WARNING: line length of 81 exceeds 80 columns #114: FILE: arch/arm64/include/asm/cmpxchg.h:245: + : [val] "r" (val), [ecycles] "r" (ecycles)); \ WARNING: line length of 81 exceeds 80 columns #115: FILE: arch/arm64/include/asm/cmpxchg.h:246: + } \ total: 0 errors, 33 warnings, 0 checks, 122 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 4bdb5038c8c9 ("arm64: support WFET in smp_cond_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. total: 0 errors, 33 warnings, 0 checks, 122 lines checked