WARNING: line length of 81 exceeds 80 columns #38: FILE: include/linux/local_lock.h:35: + * interrupts. Always fails in RT when in_hardirq or NMI. WARNING: Macros with flow control statements should be avoided #183: FILE: include/linux/local_lock_internal.h:197: +#define __local_trylock_irqsave(lock, flags) \ + ({ \ + __label__ out; \ + int ret = 0; \ + typecheck(unsigned long, flags); \ + flags = 0; \ + if (in_nmi() || in_hardirq()) \ + goto out; \ + migrate_disable(); \ + ret = spin_trylock(this_cpu_ptr((lock))); \ + if (!ret) \ + migrate_enable(); \ + out: \ + ret; \ + }) WARNING: labels should not be indented #195: FILE: include/linux/local_lock_internal.h:209: + out: \ total: 0 errors, 3 warnings, 0 checks, 158 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 f0a1dabfbfae ("locking/local_lock: Introduce local_trylock_irqsave()") 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, 3 warnings, 0 checks, 158 lines checked