WARNING: line length of 96 exceeds 80 columns #85: FILE: tools/lib/bpf/usdt.bpf.h:234: + err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); WARNING: line length of 100 exceeds 80 columns #88: FILE: tools/lib/bpf/usdt.bpf.h:237: + err = bpf_probe_read_kernel(&idx, sizeof(idx), (void *)ctx + arg_spec->idx_reg_off); WARNING: line length of 122 exceeds 80 columns #91: FILE: tools/lib/bpf/usdt.bpf.h:240: + err = bpf_probe_read_user(&val, sizeof(val), (void *)(val + (idx * arg_spec->scale) + arg_spec->val_off)); WARNING: line length of 86 exceeds 80 columns #140: FILE: tools/lib/bpf/usdt.c:1302: + arg_sz, &off, reg_name, idx_reg_name, &scale, &len) == 5 || CHECK: Alignment should match open parenthesis #140: FILE: tools/lib/bpf/usdt.c:1302: + if (sscanf(arg_str, " %d @ %ld ( %%%15[^,] , %%%15[^,] , %d ) %n", + arg_sz, &off, reg_name, idx_reg_name, &scale, &len) == 5 || CHECK: Alignment should match open parenthesis #142: FILE: tools/lib/bpf/usdt.c:1304: + sscanf(arg_str, " %d @ ( %%%15[^,] , %%%15[^,] , %d ) %n", + arg_sz, reg_name, idx_reg_name, &scale, &len) == 4 || CHECK: Alignment should match open parenthesis #144: FILE: tools/lib/bpf/usdt.c:1306: + sscanf(arg_str, " %d @ %ld ( %%%15[^,] , %%%15[^)] ) %n", + arg_sz, &off, reg_name, idx_reg_name, &len) == 4 || CHECK: Alignment should match open parenthesis #146: FILE: tools/lib/bpf/usdt.c:1308: + sscanf(arg_str, " %d @ ( %%%15[^,] , %%%15[^)] ) %n", + arg_sz, reg_name, idx_reg_name, &len) == 3 WARNING: line length of 92 exceeds 80 columns #169: FILE: tools/lib/bpf/usdt.c:1330: + pr_warn("usdt: invalid SIB scale %d, expected 1, 2, 4, 8\n", scale); total: 0 errors, 5 warnings, 4 checks, 149 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 99c154538cbf ("libbpf: fix USDT SIB argument handling causing unrecognized register error") 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, 4 checks, 149 lines checked