Subject is missing. What about "tests/qtest/igb: Avoid misaligned access"?

On 30/4/25 12:49, Alex Bennée wrote:
Nabih Estefan <nabiheste...@google.com> writes:

v2: used ldl_le_p and lduw_l_p instead of memcpy as per upstream
suggestion.

This comment is not useful in git history.


```
../tests/qtest/libqos/igb.c:106:5: runtime error: load of misaligned address 
0x562040be8e33 for type 'uint32_t', which requires 4 byte alignment
```
Instead of straight casting the uint8_t array, we use memcpy to assure
alignment is correct against uint32_t and uint16_t.

Queued to testing/next, thanks.



Reply via email to