WARNING: line length of 83 exceeds 80 columns #66: FILE: tools/lib/bpf/usdt.bpf.h:216: + * is in arg_spec->val_off, the scale factor is in arg_spec->scale. WARNING: line length of 81 exceeds 80 columns #70: FILE: tools/lib/bpf/usdt.bpf.h:220: + * base address and the offset to get the final address. Finally, WARNING: line length of 96 exceeds 80 columns #74: FILE: tools/lib/bpf/usdt.bpf.h:224: + err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); WARNING: line length of 100 exceeds 80 columns #77: FILE: tools/lib/bpf/usdt.bpf.h:227: + err = bpf_probe_read_kernel(&idx, sizeof(idx), (void *)ctx + arg_spec->idx_reg_off); WARNING: line length of 89 exceeds 80 columns #81: FILE: tools/lib/bpf/usdt.bpf.h:231: + (void *)val + idx * arg_spec->scale + arg_spec->val_off); CHECK: Alignment should match open parenthesis #81: FILE: tools/lib/bpf/usdt.bpf.h:231: + err = bpf_probe_read_user(&val, sizeof(val), + (void *)val + idx * arg_spec->scale + arg_spec->val_off); WARNING: line length of 91 exceeds 80 columns #122: FILE: tools/lib/bpf/usdt.c:1294: + arg_sz, &off, reg_name, idx_reg_name, &scale, &len) == 5 || CHECK: Alignment should match open parenthesis #122: FILE: tools/lib/bpf/usdt.c:1294: + if (sscanf(arg_str, " %d @ %ld ( %%%15[^,] , %%%15[^,] , %d ) %n", + arg_sz, &off, reg_name, idx_reg_name, &scale, &len) == 5 || WARNING: line length of 85 exceeds 80 columns #124: FILE: tools/lib/bpf/usdt.c:1296: + arg_sz, reg_name, idx_reg_name, &scale, &len) == 4 || CHECK: Alignment should match open parenthesis #124: FILE: tools/lib/bpf/usdt.c:1296: + sscanf(arg_str, " %d @ ( %%%15[^,] , %%%15[^,] , %d ) %n", + arg_sz, reg_name, idx_reg_name, &scale, &len) == 4 || WARNING: line length of 83 exceeds 80 columns #126: FILE: tools/lib/bpf/usdt.c:1298: + arg_sz, &off, reg_name, idx_reg_name, &len) == 4 || CHECK: Alignment should match open parenthesis #126: FILE: tools/lib/bpf/usdt.c:1298: + sscanf(arg_str, " %d @ %ld ( %%%15[^,] , %%%15[^)] ) %n", + arg_sz, &off, reg_name, idx_reg_name, &len) == 4 || CHECK: Alignment should match open parenthesis #128: FILE: tools/lib/bpf/usdt.c:1300: + sscanf(arg_str, " %d @ ( %%%15[^,] , %%%15[^)] ) %n", + arg_sz, reg_name, idx_reg_name, &len) == 3 total: 0 errors, 8 warnings, 5 checks, 131 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 1639f7209477 ("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, 8 warnings, 5 checks, 131 lines checked