Re: [PATCH] mwl8k: Use struct_group() for memcpy() region

From: Johannes Berg
Date: Thu Nov 18 2021 - 14:45:47 EST


On Thu, 2021-11-18 at 10:37 -0800, Kees Cook wrote:
>
> - __u8 key_material[MAX_ENCR_KEY_LENGTH];
> - __u8 tkip_tx_mic_key[MIC_KEY_LENGTH];
> - __u8 tkip_rx_mic_key[MIC_KEY_LENGTH];
> + struct {
> + __u8 key_material[MAX_ENCR_KEY_LENGTH];
>

That got one tab too many?

johannes