WARNING: line length of 96 exceeds 80 columns #92: FILE: kernel/bpf/helpers.c:1736: +static int bpf_file_fetch_bytes(struct bpf_dynptr_file_impl *df, u64 offset, void *buf, u64 len) WARNING: line length of 90 exceeds 80 columns #132: FILE: kernel/bpf/helpers.c:2237: +static int make_file_dynptr(struct file *file, u32 flags, enum bpf_is_sleepable sleepable, WARNING: line length of 83 exceeds 80 columns #143: FILE: kernel/bpf/helpers.c:2248: + state = bpf_mem_alloc(&bpf_global_ma, sizeof(struct bpf_dynptr_file_impl)); WARNING: line length of 84 exceeds 80 columns #149: FILE: kernel/bpf/helpers.c:2254: + state->size = U64_MAX; /* Don't restrict size, as file may change anyways */ WARNING: line length of 87 exceeds 80 columns #150: FILE: kernel/bpf/helpers.c:2255: + freader_init_from_file(&state->freader, NULL, 0, file, sleepable == MAY_SLEEP); WARNING: line length of 88 exceeds 80 columns #164: FILE: kernel/bpf/helpers.c:2805: + err = bpf_file_fetch_bytes(ptr->data, offset, buffer__opt, buffer__szk); WARNING: line length of 99 exceeds 80 columns #183: FILE: kernel/bpf/helpers.c:4288: + return make_file_dynptr(file, flags, MAY_NOT_SLEEP, (struct bpf_dynptr_kern *)ptr__uninit); total: 0 errors, 7 warnings, 0 checks, 162 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 cb8661dac1f1 ("bpf: add kfuncs and helpers support for file dynptrs") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 7 warnings, 0 checks, 162 lines checked