WARNING: line length of 100 exceeds 80 columns #115: FILE: net/bpf/test_run.c:1015: + if ((kattr->test.flags & ~(BPF_F_TEST_SKB_CHECKSUM_COMPLETE | BPF_F_TEST_SKB_NON_LINEAR)) || WARNING: line length of 84 exceeds 80 columns #190: FILE: net/bpf/test_run.c:1085: + /* eth_type_trans expects the Ethernet header in the linear area. */ WARNING: kfree(NULL) is safe and this check is probably not required #218: FILE: net/bpf/test_run.c:1187: + if (data) + is_nonlinear ? __free_page(data) : kfree(data); WARNING: line length of 82 exceeds 80 columns #227: FILE: net/bpf/test_run.c:1313: + data = bpf_test_init(kattr, size, max_data_sz, headroom, tailroom, false); WARNING: line length of 81 exceeds 80 columns #236: FILE: net/bpf/test_run.c:1436: + data = bpf_test_init(kattr, kattr->test.data_size_in, size, 0, 0, false); CHECK: Prefer using the BIT macro #261: FILE: tools/include/uapi/linux/bpf.h:1454: +#define BPF_F_TEST_SKB_NON_LINEAR (1U << 3) total: 0 errors, 5 warnings, 1 checks, 210 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 de3db670c434 ("bpf: Craft non-linear skbs in BPF_PROG_TEST_RUN") 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, 1 checks, 210 lines checked