WARNING: Commit log lines starting with '#' are dropped by git as comments #20: #449 test_cpuidle_gov_ext: OK WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #41: new file mode 100644 CHECK: No space is necessary after a cast #90: FILE: tools/testing/selftests/bpf/progs/cpuidle_common.h:11: +s64 bpf_tick_nohz_get_sleep_length(void) __ksym __weak; CHECK: Alignment should match open parenthesis #158: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:60: +static void update_predict_duration(struct cpuidle_gov_data *data, + struct cpuidle_driver *drv, struct cpuidle_device *dev) CHECK: Alignment should match open parenthesis #174: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:76: + data->next_pred = calculate_ewma(data->next_pred, + data->last_duration, ALPHA, ALPHA_SCALE); WARNING: line length of 88 exceeds 80 columns #179: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:81: +int BPF_PROG(bpf_cpuidle_enable, struct cpuidle_driver *drv, struct cpuidle_device *dev) WARNING: line length of 81 exceeds 80 columns #185: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:87: + data = bpf_map_lookup_percpu_elem(&cpuidle_gov_data_map, &key, dev->cpu); WARNING: line length of 90 exceeds 80 columns #196: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:98: +void BPF_PROG(bpf_cpuidle_disable, struct cpuidle_driver *drv, struct cpuidle_device *dev) WARNING: line length of 88 exceeds 80 columns #203: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:105: +int BPF_PROG(bpf_cpuidle_select, struct cpuidle_driver *drv, struct cpuidle_device *dev) WARNING: line length of 81 exceeds 80 columns #212: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:114: + data = bpf_map_lookup_percpu_elem(&cpuidle_gov_data_map, &key, dev->cpu); WARNING: line length of 93 exceeds 80 columns #214: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:116: + bpf_printk("cpuidle_gov_ext: [%s] cpuidle_gov_data_map is NULL\n", __func__); CHECK: spaces preferred around that '-' (ctx:VxV) #221: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:123: + for (i = ARRAY_SIZE(drv->states)-1; i > 0; i--) { ^ WARNING: line length of 89 exceeds 80 columns #234: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:136: + if (data->next_pred / FIT_FACTOR * ALPHA_SCALE < cs->target_residency_ns) CHECK: Alignment should match open parenthesis #241: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:143: + if (expect_deeper && + i <= drv->state_count-2 && CHECK: spaces preferred around that '-' (ctx:VxV) #241: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:143: + i <= drv->state_count-2 && ^ CHECK: spaces preferred around that '+' (ctx:VxV) #242: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:144: + !dev->states_usage[i+1].disable && ^ WARNING: line length of 84 exceeds 80 columns #246: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:148: + data->next_pred / FIT_FACTOR * ALPHA_SCALE >= data->last_duration && WARNING: line length of 81 exceeds 80 columns #268: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:170: + data = bpf_map_lookup_percpu_elem(&cpuidle_gov_data_map, &key, dev->cpu); WARNING: line length of 93 exceeds 80 columns #270: FILE: tools/testing/selftests/bpf/progs/cpuidle_gov_ext.c:172: + bpf_printk("cpuidle_gov_ext: [%s] cpuidle_gov_data_map is NULL\n", __func__); total: 0 errors, 12 warnings, 7 checks, 241 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 8fb20c170ba5 ("selftests/bpf: Add selftests for cpuidle_gov_ext") 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, 12 warnings, 7 checks, 241 lines checked