ath_rx_init() demonstrates some serious confusion over how to use pointers, resulting in (uint32_t*)NULL being used as a temporary variable. This does not end well. The broken code in question is performing manual alignment of I/O buffers, which can now be achieved more simply using alloc_iob_raw(). Fix by removing ath_rxbuf_alloc() entirely. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
229 |
|
229 |
|
230 |
|
230 |
|
231 |
|
231 |
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
232 |
|
237 |
|
233 |
|
238 |
|
234 |
|
|
|
||
98 |
|
98 |
|
99 |
|
99 |
|
100 |
|
100 |
|
101 |
|
|
|
102 |
|
101 |
|
103 |
|
102 |
|
104 |
|
103 |
|
|
|
||
122 |
|
121 |
|
123 |
|
122 |
|
124 |
|
123 |
|
125 |
|
|
|
126 |
|
|
|
|
124 |
|
|
127 |
|
125 |
|
128 |
|
126 |
|
129 |
|
127 |
|
130 |
|
128 |
|
131 |
|
129 |
|
132 |
|
130 |
|
133 |
|
|
|
|
131 |
|
|
134 |
|
132 |
|
135 |
|
133 |
|
136 |
|
134 |
|
|
|
||
433 |
|
431 |
|
434 |
|
432 |
|
435 |
|
433 |
|
436 |
|
|
|
437 |
|
434 |
|
438 |
|
435 |
|
439 |
|
436 |
|
|
|
||
476 |
|
473 |
|
477 |
|
474 |
|
478 |
|
475 |
|
479 |
|
|
|
|
476 |
|
|
|
477 |
|
|
480 |
|
478 |
|
481 |
|
479 |
|
482 |
|
480 |
|
|
|
||
491 |
|
489 |
|
492 |
|
490 |
|
493 |
|
491 |
|
494 |
|
|
|
|
492 |
|
|
495 |
|
493 |
|
496 |
|
494 |
|
497 |
|
495 |
|
|
|
||
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|