On Wed, Mar 10, 2021 at 04:26:18PM +0100, Miroslav Lichvar wrote:
> Like this?
>
> struct message_storage {
> unsigned char reserved[MSG_HEADROOM];
> struct ptp_message msg __attribute__ ((aligned (8)));
> };
Yes, assuming that makes gcc happy again.
> It was meant as a protection against modification of the structure
> that would leap to padding. It would normally be optimized away. But
> if that is not a problem, I'll drop it.
Please drop... I'll keep an eye on message_storage ;^)
Thanks,
Richard
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel