Any underlying errors arising during ib_create_cq() or ib_create_qp() are lost since the functions simply return NULL on error. This makes debugging harder, since a debug-enabled build is required to discover the root cause of the error. Fix by returning a status code from these functions, thereby allowing any underlying errors to be propagated. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
860 | 860 |
|
861 | 861 |
|
862 | 862 |
|
863 |
|
|
863 | 864 |
|
864 | 865 |
|
865 | 866 |
|
|
||
877 | 878 |
|
878 | 879 |
|
879 | 880 |
|
880 |
|
|
881 |
|
|
882 |
|
|
883 |
|
|
884 |
|
|
881 |
|
|
882 |
|
|
883 |
|
|
884 |
|
|
885 |
|
|
885 | 886 |
|
886 | 887 |
|
887 | 888 |
|
|
||
894 | 895 |
|
895 | 896 |
|
896 | 897 |
|
897 |
|
|
898 |
|
|
899 |
|
|
898 |
|
|
899 |
|
|
900 | 900 |
|
901 | 901 |
|
902 | 902 |
|
|
||
3261 | 3261 |
|
3262 | 3262 |
|
3263 | 3263 |
|
3264 |
|
|
3265 |
|
|
3266 |
|
|
3264 |
|
|
3265 |
|
|
3267 | 3266 |
|
3268 |
|
|
3269 |
|
|
3267 |
|
|
3270 | 3268 |
|
3271 | 3269 |
|
3272 | 3270 |
|
3273 | 3271 |
|
3274 |
|
|
3275 |
|
|
3276 |
|
|
3277 |
|
|
3278 |
|
|
3272 |
|
|
3273 |
|
|
3274 |
|
|
3275 |
|
|
3279 | 3276 |
|
3280 |
|
|
3281 |
|
|
3277 |
|
|
3282 | 3278 |
|
3283 | 3279 |
|
3284 | 3280 |
|
|
||
538 | 538 |
|
539 | 539 |
|
540 | 540 |
|
541 |
|
|
542 |
|
|
543 |
|
|
544 |
|
|
545 |
|
|
541 |
|
|
542 |
|
|
543 |
|
|
544 |
|
|
546 | 545 |
|
547 | 546 |
|
548 | 547 |
|
549 | 548 |
|
550 |
|
|
549 |
|
|
551 | 550 |
|
552 |
|
|
553 |
|
|
554 |
|
|
555 |
|
|
556 |
|
|
551 |
|
|
552 |
|
|
553 |
|
|
557 | 554 |
|
558 | 555 |
|
559 | 556 |
|
|
||
854 | 854 |
|
855 | 855 |
|
856 | 856 |
|
857 |
|
|
858 |
|
|
859 |
|
|
860 |
|
|
861 |
|
|
857 |
|
|
858 |
|
|
859 |
|
|
860 |
|
|
862 | 861 |
|
863 | 862 |
|
864 | 863 |
|
865 | 864 |
|
866 |
|
|
865 |
|
|
867 | 866 |
|
868 |
|
|
869 |
|
|
870 |
|
|
871 |
|
|
872 |
|
|
867 |
|
|
868 |
|
|
869 |
|
|
870 |
|
|
873 | 871 |
|
874 | 872 |
|
875 | 873 |
|
|
||
493 | 493 |
|
494 | 494 |
|
495 | 495 |
|
496 |
|
|
497 |
|
|
498 |
|
|
496 |
|
|
497 |
|
|
498 |
|
|
499 | 499 |
|
500 | 500 |
|
501 | 501 |
|
502 | 502 |
|
503 |
|
|
504 |
|
|
505 |
|
|
506 |
|
|
507 |
|
|
503 |
|
|
504 |
|
|
505 |
|
|
506 |
|
|
507 |
|
|
508 |
|
|
509 |
|
|
508 | 510 |
|
509 | 511 |
|
510 | 512 |
|
|
||
92 | 92 |
|
93 | 93 |
|
94 | 94 |
|
95 |
|
|
95 |
|
|
96 |
|
|
96 | 97 |
|
97 |
|
|
98 |
|
|
99 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
100 | 101 |
|
101 | 102 |
|
102 | 103 |
|
|
||
104 | 105 |
|
105 | 106 |
|
106 | 107 |
|
107 |
|
|
108 |
|
|
109 |
|
|
108 | 110 |
|
111 |
|
|
109 | 112 |
|
110 | 113 |
|
111 | 114 |
|
|
||
122 | 125 |
|
123 | 126 |
|
124 | 127 |
|
125 |
|
|
128 |
|
|
129 |
|
|
126 | 130 |
|
127 | 131 |
|
128 | 132 |
|
129 | 133 |
|
130 | 134 |
|
131 | 135 |
|
132 |
|
|
136 |
|
|
133 | 137 |
|
134 | 138 |
|
135 | 139 |
|
|
||
186 | 190 |
|
187 | 191 |
|
188 | 192 |
|
189 |
|
|
193 |
|
|
194 |
|
|
190 | 195 |
|
191 | 196 |
|
192 | 197 |
|
193 | 198 |
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
204 |
|
|
205 |
|
|
202 | 206 |
|
203 | 207 |
|
204 | 208 |
|
|
||
210 | 214 |
|
211 | 215 |
|
212 | 216 |
|
213 |
|
|
217 |
|
|
218 |
|
|
214 | 219 |
|
220 |
|
|
215 | 221 |
|
216 | 222 |
|
217 | 223 |
|
|
||
265 | 271 |
|
266 | 272 |
|
267 | 273 |
|
268 |
|
|
274 |
|
|
275 |
|
|
269 | 276 |
|
270 | 277 |
|
271 | 278 |
|
|
||
274 | 281 |
|
275 | 282 |
|
276 | 283 |
|
277 |
|
|
284 |
|
|
278 | 285 |
|
279 | 286 |
|
280 | 287 |
|
|
||
423 | 423 |
|
424 | 424 |
|
425 | 425 |
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
|
|
431 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
432 | 430 |
|
433 | 431 |
|
434 | 432 |
|
435 | 433 |
|
436 |
|
|
437 |
|
|
438 |
|
|
439 |
|
|
440 |
|
|
441 |
|
|
442 |
|
|
434 |
|
|
435 |
|
|
436 |
|
|
437 |
|
|
438 |
|
|
439 |
|
|
443 | 440 |
|
444 | 441 |
|
445 | 442 |
|
|
||
357 | 357 |
|
358 | 358 |
|
359 | 359 |
|
360 |
|
|
361 |
|
|
362 |
|
|
360 |
|
|
361 |
|
|
362 |
|
|
363 |
|
|
363 | 364 |
|
364 | 365 |
|
365 | 366 |
|
366 | 367 |
|
367 | 368 |
|
368 |
|
|
369 |
|
|
370 |
|
|
371 |
|
|
372 |
|
|
369 |
|
|
370 |
|
|
371 |
|
|
372 |
|
|
373 |
|
|
373 | 374 |
|
374 | 375 |
|
375 | 376 |
|