WARNING: Avoid line continuations in quoted strings #96: FILE: tools/bpf/bpftool/gen.c:831: + codegen("\ WARNING: line length of 114 exceeds 80 columns #98: FILE: tools/bpf/bpftool/gen.c:833: + static const int opts_signature_maps[1] __attribute__((__aligned__(8))) = {0}; \n\ WARNING: Prefer __aligned(8) over __attribute__((__aligned__(8))) #98: FILE: tools/bpf/bpftool/gen.c:833: + static const int opts_signature_maps[1] __attribute__((__aligned__(8))) = {0}; \n\ WARNING: Avoid unnecessary line continuations #110: FILE: tools/bpf/bpftool/gen.c:846: + codegen("\ WARNING: Avoid line continuations in quoted strings #110: FILE: tools/bpf/bpftool/gen.c:846: + codegen("\ WARNING: line length of 91 exceeds 80 columns #112: FILE: tools/bpf/bpftool/gen.c:848: + opts.signature_maps = (void *)opts_signature_maps; \n\ WARNING: line length of 91 exceeds 80 columns #113: FILE: tools/bpf/bpftool/gen.c:849: + opts.signature_maps_sz = 1; \n\ WARNING: please, no space before tabs #113: FILE: tools/bpf/bpftool/gen.c:849: +^I^I^I^Iopts.signature_maps_sz = 1; ^I^I^I^I\n\$ WARNING: Avoid unnecessary line continuations #116: FILE: tools/bpf/bpftool/gen.c:852: + codegen("\ WARNING: Avoid line continuations in quoted strings #116: FILE: tools/bpf/bpftool/gen.c:852: + codegen("\ WARNING: line length of 83 exceeds 80 columns #118: FILE: tools/bpf/bpftool/gen.c:854: + opts.signature_maps = (void *)NULL; \n\ WARNING: line length of 83 exceeds 80 columns #119: FILE: tools/bpf/bpftool/gen.c:855: + opts.signature_maps_sz = 0; \n\ WARNING: line length of 86 exceeds 80 columns #210: FILE: tools/bpf/bpftool/sign.c:139: + libbpf_sha256(opts->data, opts->data_sz, hash + SHA256_DIGEST_LENGTH); WARNING: line length of 90 exceeds 80 columns #262: FILE: tools/lib/bpf/skel_internal.h:357: + const size_t prog_load_attr_sz = offsetofend(union bpf_attr, signature_maps_size); CHECK: No space is necessary after a cast #270: FILE: tools/lib/bpf/skel_internal.h:400: + attr.signature_maps = (long) opts->signature_maps; total: 0 errors, 14 warnings, 1 checks, 193 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 f8fe822c1e2c ("bpftool: Add support for signing program and map hash chains") 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, 14 warnings, 1 checks, 193 lines checked