WARNING: Macros with flow control statements should be avoided #48: FILE: tools/testing/selftests/bpf/uprobe_multi.c:12: +#define DEF(name, idx) \ + int __attribute__((noinline)) \ + NAME(name, idx)(void) { asm volatile (""); return 0; } WARNING: Prefer noinline over __attribute__((noinline)) #49: FILE: tools/testing/selftests/bpf/uprobe_multi.c:13: + int __attribute__((noinline)) \ total: 0 errors, 2 warnings, 0 checks, 18 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 6e11ee311261 ("selftests/bpf: make multi-uprobe tests work in RELEASE=1 mode") 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, 2 warnings, 0 checks, 18 lines checked