> We did something like that in our patches: > > https://patchwork.kernel.org/project/linux-wireless/patch/20220204230119.b0eeb527d761.I2413a37c8f7d2d6d638038a3d95360a3fce0114d@changeid/ > https://patchwork.kernel.org/project/linux-wireless/patch/20220204230119.1ee92202ac30.Id30a3ef2844b296efbd5486fe1da9ca36a95c5cf@changeid/ > > Not overlapping wastes like 4 bytes of memory, I think I can live with > that, vs. the extra complexity? If you overlap you need another bit to > indicate which one you're using ... > OTOH, that means we need to unwrap it in userspace, which is also strange ... So yeah I'm changing it to a union. Johannes My comment was actually about your Patches but realized I hadn't subscribed this email with the mailing list so never got emails for those. So replied here (as I am in cc), just pasted wrong link 😊 But yeah, union would work. Thanks.