WARNING: line length of 100 exceeds 80 columns #95: FILE: net/bpf/test_run.c:1009: + if ((kattr->test.flags & ~(BPF_F_TEST_SKB_CHECKSUM_COMPLETE | BPF_F_TEST_SKB_NON_LINEAR)) || WARNING: line length of 84 exceeds 80 columns #164: FILE: net/bpf/test_run.c:1074: + /* eth_type_trans expects the Ethernet header in the linear area. */ WARNING: kfree(NULL) is safe and this check is probably not required #192: FILE: net/bpf/test_run.c:1176: + if (data) + is_nonlinear ? __free_page(data) : kfree(data); WARNING: line length of 82 exceeds 80 columns #201: FILE: net/bpf/test_run.c:1302: + data = bpf_test_init(kattr, size, max_data_sz, headroom, tailroom, false); WARNING: line length of 81 exceeds 80 columns #210: FILE: net/bpf/test_run.c:1425: + data = bpf_test_init(kattr, kattr->test.data_size_in, size, 0, 0, false); CHECK: Prefer using the BIT macro #233: FILE: tools/include/uapi/linux/bpf.h:1452: +#define BPF_F_TEST_SKB_NON_LINEAR (1U << 3) total: 0 errors, 5 warnings, 1 checks, 184 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 21222e167ba4 ("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, 184 lines checked