WARNING: Argument 'ptr' is not used in function-like macro #47: FILE: include/asm-generic/barrier.h:281: +#define cpu_poll_relax(ptr, val) cpu_relax() WARNING: Argument 'val' is not used in function-like macro #47: FILE: include/asm-generic/barrier.h:281: +#define cpu_poll_relax(ptr, val) cpu_relax() total: 0 errors, 2 warnings, 0 checks, 47 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 6caabb44a412 ("asm-generic: barrier: Add 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. total: 0 errors, 2 warnings, 0 checks, 47 lines checked