WARNING: line length of 100 exceeds 80 columns #118: FILE: arch/riscv/include/asm/ftrace.h:189: +static __always_inline unsigned long ftrace_regs_get_return_address(const struct ftrace_regs *fregs) WARNING: line length of 82 exceeds 80 columns #256: FILE: include/linux/fprobe.h:150: +#define MAX_FPROBE_DATA_SIZE (MAX_FPROBE_DATA_SIZE_WORD * sizeof(long)) CHECK: Prefer using the BIT macro #301: FILE: kernel/trace/fprobe.c:19: +#define FPROBE_IP_TABLE_SIZE (1 << FPROBE_IP_HASH_BITS) CHECK: Prefer using the BIT macro #312: FILE: kernel/trace/fprobe.c:22: +#define FPROBE_TABLE_SIZE (1 << FPROBE_HASH_BITS) CHECK: Macro argument 'x' may be better as '(x)' to avoid precedence issues #315: FILE: kernel/trace/fprobe.c:24: +#define SIZE_IN_LONG(x) ((x + sizeof(long) - 1) >> (sizeof(long) == 8 ? 3 : 2)) CHECK: Please use a blank line after function/struct/union/enum declarations #367: FILE: kernel/trace/fprobe.c:65: +} +NOKPROBE_SYMBOL(find_first_fprobe_node); CHECK: Please use a blank line after function/struct/union/enum declarations #435: FILE: kernel/trace/fprobe.c:109: +} +NOKPROBE_SYMBOL(is_fprobe_still_exist); WARNING: line length of 84 exceeds 80 columns #485: FILE: kernel/trace/fprobe.c:152: +#define FPROBE_HEADER_SIZE_IN_LONG SIZE_IN_LONG(sizeof(struct __fprobe_header)) WARNING: line length of 83 exceeds 80 columns #496: FILE: kernel/trace/fprobe.c:155: + struct fprobe *fp, unsigned int size_words) CHECK: Alignment should match open parenthesis #496: FILE: kernel/trace/fprobe.c:155: +static inline bool write_fprobe_header(unsigned long *stack, + struct fprobe *fp, unsigned int size_words) WARNING: line length of 85 exceeds 80 columns #509: FILE: kernel/trace/fprobe.c:168: + struct fprobe **fp, unsigned int *size_words) CHECK: Alignment should match open parenthesis #509: FILE: kernel/trace/fprobe.c:168: +static inline void read_fprobe_header(unsigned long *stack, + struct fprobe **fp, unsigned int *size_words) WARNING: line length of 84 exceeds 80 columns #536: FILE: kernel/trace/fprobe.c:195: +static inline int __fprobe_kprobe_handler(unsigned long ip, unsigned long parent_ip, WARNING: line length of 87 exceeds 80 columns #537: FILE: kernel/trace/fprobe.c:196: + struct fprobe *fp, struct ftrace_regs *fregs, CHECK: multiple assignments should be avoided #585: FILE: kernel/trace/fprobe.c:231: + first = node = find_first_fprobe_node(func); WARNING: line length of 81 exceeds 80 columns #597: FILE: kernel/trace/fprobe.c:243: + * Since fprobe can be enabled until the next loop, we ignore the WARNING: line length of 87 exceeds 80 columns #601: FILE: kernel/trace/fprobe.c:247: + FPROBE_HEADER_SIZE_IN_LONG + SIZE_IN_LONG(fp->entry_data_size); WARNING: line length of 92 exceeds 80 columns #605: FILE: kernel/trace/fprobe.c:251: + fgraph_data = fgraph_reserve_data(gops->idx, reserved_words * sizeof(long)); WARNING: line length of 85 exceeds 80 columns #646: FILE: kernel/trace/fprobe.c:287: + ret = __fprobe_kprobe_handler(func, ret_ip, fp, fregs, data); WARNING: line length of 97 exceeds 80 columns #650: FILE: kernel/trace/fprobe.c:291: + /* If entry_handler returns !0, nmissed is not counted but skips exit_handler. */ WARNING: line length of 84 exceeds 80 columns #654: FILE: kernel/trace/fprobe.c:295: + if (write_fprobe_header(&fgraph_data[used], fp, size_words)) CHECK: Please use a blank line after function/struct/union/enum declarations #664: FILE: kernel/trace/fprobe.c:305: +} +NOKPROBE_SYMBOL(fprobe_entry); CHECK: Please use a blank line after function/struct/union/enum declarations #700: FILE: kernel/trace/fprobe.c:341: +} +NOKPROBE_SYMBOL(fprobe_return); CHECK: Please use a blank line after function/struct/union/enum declarations #706: FILE: kernel/trace/fprobe.c:347: +}; +static int fprobe_graph_active; WARNING: line length of 82 exceeds 80 columns #774: FILE: kernel/trace/fprobe.c:422: +static int filter_match_callback(void *data, const char *name, unsigned long addr) WARNING: line length of 84 exceeds 80 columns #816: FILE: kernel/trace/fprobe.c:447: + struct filter_match_data match = { .filter = filter, .notfilter = notfilter, WARNING: line length of 82 exceeds 80 columns #823: FILE: kernel/trace/fprobe.c:454: + ret = module_kallsyms_on_each_symbol(NULL, filter_match_callback, &match); total: 0 errors, 16 warnings, 11 checks, 1029 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 6a1920b1402c ("fprobe: Rewrite fprobe on function-graph tracer") 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, 16 warnings, 11 checks, 1029 lines checked