========== checkpatch - FAILED ERROR: trailing statements should be on next line #77: FILE: tools/lib/bpf/gen_loader.c:440: + case 1: _val = (rval); break; \ ERROR: trailing statements should be on next line #78: FILE: tools/lib/bpf/gen_loader.c:441: + case 2: _val = bswap_16(rval); break; \ ERROR: trailing statements should be on next line #79: FILE: tools/lib/bpf/gen_loader.c:442: + case 4: _val = bswap_32(rval); break; \ ERROR: trailing statements should be on next line #80: FILE: tools/lib/bpf/gen_loader.c:443: + case 8: _val = bswap_64(rval); break; \ ERROR: trailing statements should be on next line #81: FILE: tools/lib/bpf/gen_loader.c:444: + default:_val = (rval); \ ERROR: code indent should use tabs where possible #276: FILE: tools/lib/bpf/gen_loader.c:1039: +^I^I (anon_info_bswap_fn_t)bpf_func_info_bswap);$ CHECK: Alignment should match open parenthesis #276: FILE: tools/lib/bpf/gen_loader.c:1039: + info_blob_bswap(gen, func_info, load_attr->func_info_cnt, + (anon_info_bswap_fn_t)bpf_func_info_bswap); ERROR: code indent should use tabs where possible #287: FILE: tools/lib/bpf/gen_loader.c:1050: +^I^I (anon_info_bswap_fn_t)bpf_line_info_bswap);$ CHECK: Alignment should match open parenthesis #287: FILE: tools/lib/bpf/gen_loader.c:1050: + info_blob_bswap(gen, line_info, load_attr->line_info_cnt, + (anon_info_bswap_fn_t)bpf_line_info_bswap); WARNING: line length of 82 exceeds 80 columns #289: FILE: tools/lib/bpf/gen_loader.c:1052: + attr.core_relo_rec_size = tgt_endian((__u32)sizeof(struct bpf_core_relo)); ERROR: code indent should use tabs where possible #298: FILE: tools/lib/bpf/gen_loader.c:1061: +^I^I (anon_info_bswap_fn_t)bpf_core_relo_bswap);$ CHECK: Alignment should match open parenthesis #298: FILE: tools/lib/bpf/gen_loader.c:1061: + info_blob_bswap(gen, core_relos, gen->core_relo_cnt, + (anon_info_bswap_fn_t)bpf_core_relo_bswap); total: 8 errors, 1 warnings, 3 checks, 316 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit e0416824c999 ("libbpf: Support creating light skeleton of either endianness") 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.