On Fri May 10, 2024 at 4:59 AM EEST, Stefan Berger wrote: > + memcpy((u8 *)&msd + sizeof(msd) - o, in, o); Not a review/NAK comment but I personally prefer to treat these like arrays: &((u8 *)&msd)[sizeof(msd) - o] It is totally fine as it is. BR, Jarkko