WARNING: externs should be avoided in .c files #30: FILE: arch/x86/net/bpf_jit_comp.c:1415: +u64 bpf_get_hw_counter(void); WARNING: line length of 91 exceeds 80 columns #41: FILE: arch/x86/net/bpf_jit_comp.c:2133: + /* Save RDX because RDTSC will use EDX:EAX to return u64 */ WARNING: line length of 82 exceeds 80 columns #51: FILE: arch/x86/net/bpf_jit_comp.c:2143: + maybe_emit_mod(&prog, BPF_REG_0, BPF_REG_3, true); WARNING: line length of 82 exceeds 80 columns #52: FILE: arch/x86/net/bpf_jit_comp.c:2144: + EMIT2(0x09, add_2reg(0xC0, BPF_REG_0, BPF_REG_3)); WARNING: line length of 83 exceeds 80 columns #92: FILE: arch/x86/net/bpf_jit_comp32.c:2100: + if (boot_cpu_has(X86_FEATURE_LFENCE_RDTSC)) total: 0 errors, 5 warnings, 0 checks, 141 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 23a1761fb7f3 ("bpf: add bpf_get_hw_counter kfunc") 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, 0 checks, 141 lines checked