WARNING: Prefer __aligned(16) over __attribute__((aligned(16))) #48: FILE: tools/testing/selftests/bpf/prog_tests/task_local_storage.c:233: +static struct user_data udata __attribute__((aligned(16))) = { WARNING: Prefer __aligned(16) over __attribute__((aligned(16))) #53: FILE: tools/testing/selftests/bpf/prog_tests/task_local_storage.c:238: +static struct user_data udata2 __attribute__((aligned(16))) = { CHECK: multiple assignments should be avoided #60: FILE: tools/testing/selftests/bpf/prog_tests/task_local_storage.c:245: + udata2.result = udata2.nested_result = 0; WARNING: line length of 81 exceeds 80 columns #130: FILE: tools/testing/selftests/bpf/prog_tests/task_local_storage.c:315: + ASSERT_EQ(udata.result, MAGIC_VALUE + udata.a + udata.b, "udata.result"); WARNING: line length of 95 exceeds 80 columns #131: FILE: tools/testing/selftests/bpf/prog_tests/task_local_storage.c:316: + ASSERT_EQ(udata.nested_result, MAGIC_VALUE + udata.a + udata.b, "udata.nested_result"); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #196: new file mode 100644 CHECK: Please use a blank line after function/struct/union/enum declarations #288: FILE: tools/testing/selftests/bpf/uptr_test_common.h:13: +}; +#define __uptr CHECK: spaces preferred around that '*' (ctx:WxV) #300: FILE: tools/testing/selftests/bpf/uptr_test_common.h:25: + struct user_data __uptr *udata; ^ CHECK: spaces preferred around that '*' (ctx:WxV) #304: FILE: tools/testing/selftests/bpf/uptr_test_common.h:29: + struct user_data __uptr *udata; ^ CHECK: spaces preferred around that '*' (ctx:WxV) #305: FILE: tools/testing/selftests/bpf/uptr_test_common.h:30: + struct cgroup __kptr *cgrp; ^ total: 0 errors, 5 warnings, 5 checks, 267 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 5a763dd4bd52 ("selftests/bpf: Some basic __uptr tests") 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, 5 warnings, 5 checks, 267 lines checked