|
| 1 | + DESCEND objtool |
| 2 | + CALL scripts/checksyscalls.sh |
| 3 | + CHK include/generated/compile.h |
| 4 | + CC net/mptcp/mptcp_ratio.o |
| 5 | + CC [M] net/mptcp/mptcp_sched_probe.o |
| 6 | +net/mptcp/mptcp_ratio.c: In function ‘mptcp_ratio_next_segment’: |
| 7 | +net/mptcp/mptcp_ratio.c:817:12: error: ‘struct tcp_sock’ has no member named ‘rate_est_val’ |
| 8 | + 817 | tp_it->rate_est_val += subflow_rate64; |
| 9 | + | ^~ |
| 10 | +net/mptcp/mptcp_ratio.c:818:12: error: ‘struct tcp_sock’ has no member named ‘rate_est_cnt’ |
| 11 | + 818 | tp_it->rate_est_cnt++; |
| 12 | + | ^~ |
| 13 | +net/mptcp/mptcp_ratio.c:858:9: error: implicit declaration of function ‘mptcp_for_each_sk’; did you mean ‘mptcp_for_each_sub’? [-Werror=implicit-function-declaration] |
| 14 | + 858 | mptcp_for_each_sk(mpcb, sk_it) { |
| 15 | + | ^~~~~~~~~~~~~~~~~ |
| 16 | + | mptcp_for_each_sub |
| 17 | +net/mptcp/mptcp_ratio.c:858:33: error: ‘sk_it’ undeclared (first use in this function) |
| 18 | + 858 | mptcp_for_each_sk(mpcb, sk_it) { |
| 19 | + | ^~~~~ |
| 20 | +net/mptcp/mptcp_ratio.c:858:33: note: each undeclared identifier is reported only once for each function it appears in |
| 21 | +net/mptcp/mptcp_ratio.c:858:39: error: expected ‘;’ before ‘{’ token |
| 22 | + 858 | mptcp_for_each_sk(mpcb, sk_it) { |
| 23 | + | ^~ |
| 24 | + | ; |
| 25 | +net/mptcp/mptcp_ratio.c:908:43: error: expected ‘;’ before ‘{’ token |
| 26 | + 908 | mptcp_for_each_sk(mpcb, sk_it) { |
| 27 | + | ^~ |
| 28 | + | ; |
| 29 | +net/mptcp/mptcp_ratio.c:949:13: error: expected ‘}’ before ‘else’ |
| 30 | + 949 | else |
| 31 | + | ^~~~ |
| 32 | +net/mptcp/mptcp_ratio.c:1022:28: error: ‘struct tcp_sock’ has no member named ‘buffer_trigger_threshold’ |
| 33 | + 1022 | meta_tp->buffer_trigger_threshold = 0; |
| 34 | + | ^~ |
| 35 | +net/mptcp/mptcp_ratio.c:1023:51: error: expected ‘;’ before ‘{’ token |
| 36 | + 1023 | mptcp_for_each_sk(mpcb, sk_it) { |
| 37 | + | ^~ |
| 38 | + | ; |
| 39 | +net/mptcp/mptcp_ratio.c:1035:51: error: expected ‘;’ before ‘{’ token |
| 40 | + 1035 | mptcp_for_each_sk(mpcb, sk_it) { |
| 41 | + | ^~ |
| 42 | + | ; |
| 43 | +net/mptcp/mptcp_ratio.c:1244:47: error: expected ‘;’ before ‘{’ token |
| 44 | + 1244 | mptcp_for_each_sk(mpcb, sk_it) { |
| 45 | + | ^~ |
| 46 | + | ; |
| 47 | +net/mptcp/mptcp_ratio.c:1258:49: error: ‘struct tcp_sock’ has no member named ‘buffer_trigger_threshold’ |
| 48 | + 1258 | } else if (buffer_diff < meta_tp->buffer_trigger_threshold) { |
| 49 | + | ^~ |
| 50 | +net/mptcp/mptcp_ratio.c:1294:51: error: expected ‘;’ before ‘{’ token |
| 51 | + 1294 | mptcp_for_each_sk(mpcb, sk_it) { |
| 52 | + | ^~ |
| 53 | + | ; |
| 54 | +net/mptcp/mptcp_ratio.c:1328:45: error: ‘struct tcp_sock’ has no member named ‘last_rate_search_start’ |
| 55 | + 1328 | last_rate += meta_tp->last_rate_search_start[iter]; |
| 56 | + | ^~ |
| 57 | +net/mptcp/mptcp_ratio.c:1505:36: error: expected ‘;’ before ‘{’ token |
| 58 | + 1505 | mptcp_for_each_sk(mpcb, sk_it) { |
| 59 | + | ^~ |
| 60 | + | ; |
| 61 | +net/mptcp/mptcp_ratio.c:1515:39: error: expected ‘;’ before ‘{’ token |
| 62 | + 1515 | mptcp_for_each_sk(mpcb, sk_it) { |
| 63 | + | ^~ |
| 64 | + | ; |
| 65 | +net/mptcp/mptcp_ratio.c:1331:1: warning: label ‘nosearch’ defined but not used [-Wunused-label] |
| 66 | + 1331 | nosearch: |
| 67 | + | ^~~~~~~~ |
| 68 | +net/mptcp/mptcp_ratio.c:1289:7: error: label ‘search_start’ used but not defined |
| 69 | + 1289 | goto search_start; |
| 70 | + | ^~~~ |
| 71 | +net/mptcp/mptcp_ratio.c:382:9: warning: unused variable ‘completion_times’ [-Wunused-variable] |
| 72 | + 382 | int completion_times[2] = {0, 0}; |
| 73 | + | ^~~~~~~~~~~~~~~~ |
| 74 | +net/mptcp/mptcp_ratio.c:379:19: warning: unused variable ‘diff_last’ [-Wunused-variable] |
| 75 | + 379 | int diff_ref, diff_last, threshold_cnt; |
| 76 | + | ^~~~~~~~~ |
| 77 | +net/mptcp/mptcp_ratio.c:379:9: warning: unused variable ‘diff_ref’ [-Wunused-variable] |
| 78 | + 379 | int diff_ref, diff_last, threshold_cnt; |
| 79 | + | ^~~~~~~~ |
| 80 | +net/mptcp/mptcp_ratio.c:376:24: warning: unused variable ‘rate_search_100’ [-Wunused-variable] |
| 81 | + 376 | u32 rate_search_0, rate_search_100, buffer_total, init_buffer_total, trigger_threshold; |
| 82 | + | ^~~~~~~~~~~~~~~ |
| 83 | +net/mptcp/mptcp_ratio.c:376:9: warning: unused variable ‘rate_search_0’ [-Wunused-variable] |
| 84 | + 376 | u32 rate_search_0, rate_search_100, buffer_total, init_buffer_total, trigger_threshold; |
| 85 | + | ^~~~~~~~~~~~~ |
| 86 | +net/mptcp/mptcp_ratio.c:375:140: warning: unused variable ‘curr_diff’ [-Wunused-variable] |
| 87 | + 375 | u32 total_rate, rate_ad, rate_ac, ref_rate, last_rate, best_rate, best_ratio, in_search, last_trigger_tstamp, thresh_cnt_reset, qSize, curr_diff, count_set_init_rate, init_rate; |
| 88 | + | ^~~~~~~~~ |
| 89 | +net/mptcp/mptcp_ratio.c:375:133: warning: unused variable ‘qSize’ [-Wunused-variable] |
| 90 | + 375 | u32 total_rate, rate_ad, rate_ac, ref_rate, last_rate, best_rate, best_ratio, in_search, last_trigger_tstamp, thresh_cnt_reset, qSize, curr_diff, count_set_init_rate, init_rate; |
| 91 | + | ^~~~~ |
| 92 | +net/mptcp/mptcp_ratio.c:375:115: warning: unused variable ‘thresh_cnt_reset’ [-Wunused-variable] |
| 93 | + 375 | u32 total_rate, rate_ad, rate_ac, ref_rate, last_rate, best_rate, best_ratio, in_search, last_trigger_tstamp, thresh_cnt_reset, qSize, curr_diff, count_set_init_rate, init_rate; |
| 94 | + | ^~~~~~~~~~~~~~~~ |
| 95 | +net/mptcp/mptcp_ratio.c:375:71: warning: unused variable ‘best_ratio’ [-Wunused-variable] |
| 96 | + 375 | u32 total_rate, rate_ad, rate_ac, ref_rate, last_rate, best_rate, best_ratio, in_search, last_trigger_tstamp, thresh_cnt_reset, qSize, curr_diff, count_set_init_rate, init_rate; |
| 97 | + | ^~~~~~~~~~ |
| 98 | +net/mptcp/mptcp_ratio.c:375:60: warning: unused variable ‘best_rate’ [-Wunused-variable] |
| 99 | + 375 | u32 total_rate, rate_ad, rate_ac, ref_rate, last_rate, best_rate, best_ratio, in_search, last_trigger_tstamp, thresh_cnt_reset, qSize, curr_diff, count_set_init_rate, init_rate; |
| 100 | + | ^~~~~~~~~ |
| 101 | +net/mptcp/mptcp_ratio.c:375:39: warning: unused variable ‘ref_rate’ [-Wunused-variable] |
| 102 | + 375 | u32 total_rate, rate_ad, rate_ac, ref_rate, last_rate, best_rate, best_ratio, in_search, last_trigger_tstamp, thresh_cnt_reset, qSize, curr_diff, count_set_init_rate, init_rate; |
| 103 | + | ^~~~~~~~ |
| 104 | +net/mptcp/mptcp_ratio.c:373:11: warning: unused variable ‘ip_5’ [-Wunused-variable] |
| 105 | + 373 | char *ip_5 = "192.168.2.10"; |
| 106 | + | ^~~~ |
| 107 | +net/mptcp/mptcp_ratio.c:372:11: warning: unused variable ‘ip_60’ [-Wunused-variable] |
| 108 | + 372 | char *ip_60 = "192.168.2.11"; |
| 109 | + | ^~~~~ |
| 110 | +net/mptcp/mptcp_ratio.c:370:54: warning: unused variable ‘i’ [-Wunused-variable] |
| 111 | + 370 | unsigned char iter = 0, full_subs = 0, counter = 0, i = 0; |
| 112 | + | ^ |
| 113 | +net/mptcp/mptcp_ratio.c: At top level: |
| 114 | +net/mptcp/mptcp_ratio.c:1529:5: warning: data definition has no type or storage class |
| 115 | + 1529 | iter = 0; |
| 116 | + | ^~~~ |
| 117 | +net/mptcp/mptcp_ratio.c:1529:5: error: type defaults to ‘int’ in declaration of ‘iter’ [-Werror=implicit-int] |
| 118 | +net/mptcp/mptcp_ratio.c:1530:5: error: return type defaults to ‘int’ [-Werror=return-type] |
| 119 | + 1530 | mptcp_for_each_sk(mpcb, sk_it) { |
| 120 | + | ^~~~~~~~~~~~~~~~~ |
| 121 | +net/mptcp/mptcp_ratio.c:1530:5: error: function declaration isn’t a prototype [-Werror=strict-prototypes] |
| 122 | +net/mptcp/mptcp_ratio.c: In function ‘mptcp_for_each_sk’: |
| 123 | +net/mptcp/mptcp_ratio.c:1531:33: error: ‘sprobe’ undeclared (first use in this function); did you mean ‘uprobe’? |
| 124 | + 1531 | mptcp_sched_probe_init(&sprobe); |
| 125 | + | ^~~~~~ |
| 126 | + | uprobe |
| 127 | +net/mptcp/mptcp_ratio.c:1534:46: error: ‘skb’ undeclared (first use in this function) |
| 128 | + 1534 | if (!mptcp_ratio_is_available(sk_it, skb, false, cwnd_limited)) sprobe.temp_unavailable = true; |
| 129 | + | ^~~ |
| 130 | +net/mptcp/mptcp_ratio.c:1534:39: warning: passing argument 1 of ‘mptcp_ratio_is_available’ makes pointer from integer without a cast [-Wint-conversion] |
| 131 | + 1534 | if (!mptcp_ratio_is_available(sk_it, skb, false, cwnd_limited)) sprobe.temp_unavailable = true; |
| 132 | + | ^~~~~ |
| 133 | + | | |
| 134 | + | int |
| 135 | +net/mptcp/mptcp_ratio.c:53:51: note: expected ‘struct sock *’ but argument is of type ‘int’ |
| 136 | + 53 | static bool mptcp_ratio_is_available(struct sock *sk, const struct sk_buff *skb, |
| 137 | + | ~~~~~~~~~~~~~^~ |
| 138 | +net/mptcp/mptcp_ratio.c:1536:13: error: ‘choose_sk’ undeclared (first use in this function) |
| 139 | + 1536 | if (choose_sk == sk_it) { |
| 140 | + | ^~~~~~~~~ |
| 141 | +net/mptcp/mptcp_ratio.c:1537:55: error: ‘sched_probe_id’ undeclared (first use in this function) |
| 142 | + 1537 | mptcp_sched_probe_log_hook(&sprobe, true, sched_probe_id, sk_it); |
| 143 | + | ^~~~~~~~~~~~~~ |
| 144 | +net/mptcp/mptcp_ratio.c:1537:71: warning: passing argument 4 of ‘mptcp_sched_probe_log_hook’ makes pointer from integer without a cast [-Wint-conversion] |
| 145 | + 1537 | mptcp_sched_probe_log_hook(&sprobe, true, sched_probe_id, sk_it); |
| 146 | + | ^~~~~ |
| 147 | + | | |
| 148 | + | int |
| 149 | +In file included from net/mptcp/mptcp_ratio.c:4: |
| 150 | +./include/net/mptcp.h:979:34: note: expected ‘struct sock *’ but argument is of type ‘int’ |
| 151 | + 979 | extern struct mptcp_sched_probe* mptcp_sched_probe_log_hook(struct mptcp_sched_probe* sprobe, bool selected, unsigned long sched_probe_id, struct sock *sk); |
| 152 | + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 153 | +net/mptcp/mptcp_ratio.c:1539:73: warning: passing argument 4 of ‘mptcp_sched_probe_log_hook’ makes pointer from integer without a cast [-Wint-conversion] |
| 154 | + 1539 | else mptcp_sched_probe_log_hook(&sprobe, false, sched_probe_id, sk_it); |
| 155 | + | ^~~~~ |
| 156 | + | | |
| 157 | + | int |
| 158 | +In file included from net/mptcp/mptcp_ratio.c:4: |
| 159 | +./include/net/mptcp.h:979:34: note: expected ‘struct sock *’ but argument is of type ‘int’ |
| 160 | + 979 | extern struct mptcp_sched_probe* mptcp_sched_probe_log_hook(struct mptcp_sched_probe* sprobe, bool selected, unsigned long sched_probe_id, struct sock *sk); |
| 161 | + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 162 | +net/mptcp/mptcp_ratio.c: At top level: |
| 163 | +net/mptcp/mptcp_ratio.c:1542:2: error: expected identifier or ‘(’ before ‘return’ |
| 164 | + 1542 | return NULL; |
| 165 | + | ^~~~~~ |
| 166 | +net/mptcp/mptcp_ratio.c:1543:1: error: expected identifier or ‘(’ before ‘}’ token |
| 167 | + 1543 | } |
| 168 | + | ^ |
| 169 | +net/mptcp/mptcp_ratio.c: In function ‘mptcp_for_each_sk’: |
| 170 | +net/mptcp/mptcp_ratio.c:1540:5: error: control reaches end of non-void function [-Werror=return-type] |
| 171 | + 1540 | } |
| 172 | + | ^ |
| 173 | +net/mptcp/mptcp_ratio.c: In function ‘mptcp_ratio_next_segment’: |
| 174 | +net/mptcp/mptcp_ratio.c:1527:2: error: control reaches end of non-void function [-Werror=return-type] |
| 175 | + 1527 | } |
| 176 | + | ^ |
| 177 | +cc1: some warnings being treated as errors |
| 178 | +make[2]: *** [scripts/Makefile.build:304: net/mptcp/mptcp_ratio.o] Error 1 |
| 179 | +make[2]: *** Waiting for unfinished jobs.... |
| 180 | +net/mptcp/mptcp_sched_probe.c: In function ‘log_tcp_params’: |
| 181 | +net/mptcp/mptcp_sched_probe.c:179:51: error: ‘const struct tcp_rack’ has no member named ‘reord’ |
| 182 | + 179 | p->rack_reord = (tp->rack).reord; |
| 183 | + | ^ |
| 184 | +make[2]: *** [scripts/Makefile.build:310: net/mptcp/mptcp_sched_probe.o] Error 1 |
| 185 | +make[1]: *** [scripts/Makefile.build:544: net/mptcp] Error 2 |
| 186 | +make[1]: *** Waiting for unfinished jobs.... |
| 187 | +make: *** [Makefile:1070: net] Error 2 |
| 188 | +make: *** Waiting for unfinished jobs.... |
0 commit comments