WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #27: new file mode 100644 CHECK: Please use a blank line after function/struct/union/enum declarations #42: FILE: arch/arm64/include/asm/cfi.h:11: +} +#define cfi_get_offset cfi_get_offset CHECK: extern prototypes should be avoided in .h files #45: FILE: arch/arm64/include/asm/cfi.h:14: +extern u32 cfi_get_func_hash(void *func); CHECK: Consider using #include instead of #63: FILE: arch/arm64/kernel/alternative.c:16: +#include WARNING: externs should be avoided in .c files #76: FILE: arch/arm64/kernel/alternative.c:307: +extern unsigned int __bpf_prog_runX(const void *ctx, CHECK: Lines should not end with a '(' #86: FILE: arch/arm64/kernel/alternative.c:317: +asm ( WARNING: unnecessary whitespace before a quoted newline #87: FILE: arch/arm64/kernel/alternative.c:318: +" .pushsection .data..ro_after_init,\"aw\",@progbits \n" WARNING: unnecessary whitespace before a quoted newline #88: FILE: arch/arm64/kernel/alternative.c:319: +" .type cfi_bpf_hash,@object \n" WARNING: unnecessary whitespace before a quoted newline #89: FILE: arch/arm64/kernel/alternative.c:320: +" .globl cfi_bpf_hash \n" WARNING: unnecessary whitespace before a quoted newline #90: FILE: arch/arm64/kernel/alternative.c:321: +" .p2align 2, 0x0 \n" WARNING: unnecessary whitespace before a quoted newline #91: FILE: arch/arm64/kernel/alternative.c:322: +"cfi_bpf_hash: \n" WARNING: unnecessary whitespace before a quoted newline #92: FILE: arch/arm64/kernel/alternative.c:323: +" .word __kcfi_typeid___bpf_prog_runX \n" WARNING: unnecessary whitespace before a quoted newline #93: FILE: arch/arm64/kernel/alternative.c:324: +" .size cfi_bpf_hash, 4 \n" WARNING: unnecessary whitespace before a quoted newline #94: FILE: arch/arm64/kernel/alternative.c:325: +" .popsection \n" WARNING: externs should be avoided in .c files #98: FILE: arch/arm64/kernel/alternative.c:329: +extern u64 __bpf_callback_fn(u64, u64, u64, u64, u64); WARNING: function definition argument 'u64' should also have an identifier name #98: FILE: arch/arm64/kernel/alternative.c:329: +extern u64 __bpf_callback_fn(u64, u64, u64, u64, u64); WARNING: function definition argument 'u64' should also have an identifier name #98: FILE: arch/arm64/kernel/alternative.c:329: +extern u64 __bpf_callback_fn(u64, u64, u64, u64, u64); WARNING: function definition argument 'u64' should also have an identifier name #98: FILE: arch/arm64/kernel/alternative.c:329: +extern u64 __bpf_callback_fn(u64, u64, u64, u64, u64); WARNING: function definition argument 'u64' should also have an identifier name #98: FILE: arch/arm64/kernel/alternative.c:329: +extern u64 __bpf_callback_fn(u64, u64, u64, u64, u64); WARNING: function definition argument 'u64' should also have an identifier name #98: FILE: arch/arm64/kernel/alternative.c:329: +extern u64 __bpf_callback_fn(u64, u64, u64, u64, u64); WARNING: line length of 81 exceeds 80 columns #102: FILE: arch/arm64/kernel/alternative.c:333: +/* u32 __ro_after_init cfi_bpf_subprog_hash = __kcfi_typeid___bpf_callback_fn; */ CHECK: Lines should not end with a '(' #103: FILE: arch/arm64/kernel/alternative.c:334: +asm ( WARNING: unnecessary whitespace before a quoted newline #104: FILE: arch/arm64/kernel/alternative.c:335: +" .pushsection .data..ro_after_init,\"aw\",@progbits \n" WARNING: unnecessary whitespace before a quoted newline #105: FILE: arch/arm64/kernel/alternative.c:336: +" .type cfi_bpf_subprog_hash,@object \n" WARNING: unnecessary whitespace before a quoted newline #106: FILE: arch/arm64/kernel/alternative.c:337: +" .globl cfi_bpf_subprog_hash \n" WARNING: unnecessary whitespace before a quoted newline #107: FILE: arch/arm64/kernel/alternative.c:338: +" .p2align 2, 0x0 \n" WARNING: unnecessary whitespace before a quoted newline #108: FILE: arch/arm64/kernel/alternative.c:339: +"cfi_bpf_subprog_hash: \n" WARNING: unnecessary whitespace before a quoted newline #109: FILE: arch/arm64/kernel/alternative.c:340: +" .word __kcfi_typeid___bpf_callback_fn \n" WARNING: unnecessary whitespace before a quoted newline #110: FILE: arch/arm64/kernel/alternative.c:341: +" .size cfi_bpf_subprog_hash, 4 \n" WARNING: unnecessary whitespace before a quoted newline #111: FILE: arch/arm64/kernel/alternative.c:342: +" .popsection \n" CHECK: Consider using #include instead of #132: FILE: arch/arm64/net/bpf_jit_comp.c:20: +#include total: 0 errors, 25 warnings, 6 checks, 144 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 a79a7f735c29 ("arm64/cfi,bpf: Support kCFI + BPF on arm64") 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, 25 warnings, 6 checks, 144 lines checked