WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #69: new file mode 100644 WARNING: line length of 81 exceeds 80 columns #94: FILE: drivers/cpuidle/governors/ext.c:21: +/******************************************************************************** WARNING: line length of 83 exceeds 80 columns #105: FILE: drivers/cpuidle/governors/ext.c:32: + * restore_cpuidle_last_governor - restore last governor after bpf ext gov exiting. WARNING: line length of 100 exceeds 80 columns #112: FILE: drivers/cpuidle/governors/ext.c:39: + enabled = !strncasecmp(cpuidle_curr_governor->name, EXT_GOV_NAME, CPUIDLE_NAME_LEN); WARNING: line length of 81 exceeds 80 columns #124: FILE: drivers/cpuidle/governors/ext.c:51: + * bpf_cpuidle_ext_gov_update_rating - update rating of bpf cpuidle ext governor. WARNING: line length of 83 exceeds 80 columns #168: FILE: drivers/cpuidle/governors/ext.c:95: + * bpf_tick_nohz_get_sleep_length - return the expected length of the current sleep WARNING: line length of 96 exceeds 80 columns #194: FILE: drivers/cpuidle/governors/ext.c:121: + return register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &cpuidle_ext_gov_kfuncs_set); WARNING: line length of 81 exceeds 80 columns #197: FILE: drivers/cpuidle/governors/ext.c:124: +/******************************************************************************** WARNING: line length of 92 exceeds 80 columns #279: FILE: drivers/cpuidle/governors/ext.c:206: +static int enable_stub(struct cpuidle_driver *drv, struct cpuidle_device *dev) { return 0; } WARNING: line length of 83 exceeds 80 columns #280: FILE: drivers/cpuidle/governors/ext.c:207: +static void disable_stub(struct cpuidle_driver *drv, struct cpuidle_device *dev) {} WARNING: line length of 92 exceeds 80 columns #281: FILE: drivers/cpuidle/governors/ext.c:208: +static int select_stub(struct cpuidle_driver *drv, struct cpuidle_device *dev) { return 0; } WARNING: line length of 82 exceeds 80 columns #298: FILE: drivers/cpuidle/governors/ext.c:225: + const struct bpf_reg_state *reg, int off, CHECK: Alignment should match open parenthesis #298: FILE: drivers/cpuidle/governors/ext.c:225: +static int ext_btf_struct_access(struct bpf_verifier_log *log, + const struct bpf_reg_state *reg, int off, WARNING: line length of 94 exceeds 80 columns #306: FILE: drivers/cpuidle/governors/ext.c:233: + size_t base_offset = offsetof(struct cpuidle_device, states_usage[i]); WARNING: line length of 97 exceeds 80 columns #308: FILE: drivers/cpuidle/governors/ext.c:235: + if (off >= base_offset + offsetof(struct cpuidle_state_usage, disable) && WARNING: line length of 111 exceeds 80 columns #309: FILE: drivers/cpuidle/governors/ext.c:236: + off + size <= base_offset + offsetofend(struct cpuidle_state_usage, disable)) { CHECK: Alignment should match open parenthesis #309: FILE: drivers/cpuidle/governors/ext.c:236: + if (off >= base_offset + offsetof(struct cpuidle_state_usage, disable) && + off + size <= base_offset + offsetofend(struct cpuidle_state_usage, disable)) { CHECK: Alignment should match open parenthesis #365: FILE: drivers/cpuidle/governors/ext.c:292: +static int ops_check_member(const struct btf_type *t, + const struct btf_member *member, CHECK: Alignment should match open parenthesis #386: FILE: drivers/cpuidle/governors/ext.c:313: +static int ops_init_member(const struct btf_type *t, + const struct btf_member *member, CHECK: Alignment should match open parenthesis #397: FILE: drivers/cpuidle/governors/ext.c:324: + ret = bpf_obj_name_cpy(ops->name, uops->name, + sizeof(ops->name)); WARNING: line length of 81 exceeds 80 columns #447: FILE: drivers/cpuidle/governors/ext.c:374: +/******************************************************************************** CHECK: Alignment should match open parenthesis #463: FILE: drivers/cpuidle/governors/ext.c:390: +static void update_predict_duration(struct cpuidle_gov_ext *data, + struct cpuidle_driver *drv, struct cpuidle_device *dev) WARNING: line length of 81 exceeds 80 columns #489: FILE: drivers/cpuidle/governors/ext.c:416: +static int ext_select_dfl(struct cpuidle_driver *drv, struct cpuidle_device *dev, CHECK: Alignment should match open parenthesis #490: FILE: drivers/cpuidle/governors/ext.c:417: +static int ext_select_dfl(struct cpuidle_driver *drv, struct cpuidle_device *dev, + bool *stop_tick) WARNING: line length of 88 exceeds 80 columns #520: FILE: drivers/cpuidle/governors/ext.c:447: + if (data->next_pred / FIT_FACTOR * ALPHA_SCALE < s->target_residency_ns) WARNING: line length of 81 exceeds 80 columns #528: FILE: drivers/cpuidle/governors/ext.c:455: +static int ext_enable_dfl(struct cpuidle_driver *drv, struct cpuidle_device *dev) WARNING: line length of 87 exceeds 80 columns #537: FILE: drivers/cpuidle/governors/ext.c:464: +static void ext_disable_dfl(struct cpuidle_driver *drv, struct cpuidle_device *dev) { } WARNING: line length of 81 exceeds 80 columns #539: FILE: drivers/cpuidle/governors/ext.c:466: +/******************************************************************************** CHECK: Alignment should match open parenthesis #557: FILE: drivers/cpuidle/governors/ext.c:484: +static int ext_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, + bool *stop_tick) WARNING: line length of 85 exceeds 80 columns #594: FILE: drivers/cpuidle/governors/ext.c:521: + ret = register_bpf_struct_ops(&bpf_cpuidle_gov_ext_ops, cpuidle_gov_ext_ops); total: 0 errors, 22 warnings, 8 checks, 559 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 c4a994d57f85 ("cpuidle: Implement BPF extensible cpuidle governor class") 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, 22 warnings, 8 checks, 559 lines checked