WARNING: line length of 96 exceeds 80 columns #95: FILE: tools/lib/bpf/usdt.bpf.h:237: + err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); WARNING: line length of 100 exceeds 80 columns #98: FILE: tools/lib/bpf/usdt.bpf.h:240: + err = bpf_probe_read_kernel(&idx, sizeof(idx), (void *)ctx + arg_spec->idx_reg_off); WARNING: line length of 122 exceeds 80 columns #101: FILE: tools/lib/bpf/usdt.bpf.h:243: + 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 #158: FILE: tools/lib/bpf/usdt.c:1303: + arg_sz, &off, reg_name, idx_reg_name, &scale, &len) == 5 || CHECK: Alignment should match open parenthesis #158: FILE: tools/lib/bpf/usdt.c:1303: + 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 #160: FILE: tools/lib/bpf/usdt.c:1305: + sscanf(arg_str, " %d @ ( %%%15[^,] , %%%15[^,] , %d ) %n", + arg_sz, reg_name, idx_reg_name, &scale, &len) == 4 || CHECK: Alignment should match open parenthesis #162: FILE: tools/lib/bpf/usdt.c:1307: + sscanf(arg_str, " %d @ %ld ( %%%15[^,] , %%%15[^)] ) %n", + arg_sz, &off, reg_name, idx_reg_name, &len) == 4 || CHECK: Alignment should match open parenthesis #164: FILE: tools/lib/bpf/usdt.c:1309: + sscanf(arg_str, " %d @ ( %%%15[^,] , %%%15[^)] ) %n", + arg_sz, reg_name, idx_reg_name, &len) == 3 WARNING: line length of 106 exceeds 80 columns #187: FILE: tools/lib/bpf/usdt.c:1331: + pr_warn("usdt: invalid SIB scale %d, expected 1,2,4,8; defaulting to 1\n", scale); total: 0 errors, 5 warnings, 4 checks, 165 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 f2c979defb5d ("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, 165 lines checked