Comment 2 for bug 1824528

Revision history for this message
Daniel Berrange (berrange) wrote :

This struct represents the MTP protocol wire format so *must* be marked packed.

There unfortunately quite a few flaws in this MTP code area, so fixing the gcc warning is not straightforward.

https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg07763.html