wifi: ath: Silence memcpy run-time false positive warning
[platform/kernel/linux-rpi.git] / drivers / net / wireless / ath / ath.h
index f083fb9..f02a308 100644 (file)
@@ -96,11 +96,13 @@ struct ath_keyval {
        u8 kv_type;
        u8 kv_pad;
        u16 kv_len;
-       u8 kv_val[16]; /* TK */
-       u8 kv_mic[8]; /* Michael MIC key */
-       u8 kv_txmic[8]; /* Michael MIC TX key (used only if the hardware
-                        * supports both MIC keys in the same key cache entry;
-                        * in that case, kv_mic is the RX key) */
+       struct_group(kv_values,
+               u8 kv_val[16]; /* TK */
+               u8 kv_mic[8]; /* Michael MIC key */
+               u8 kv_txmic[8]; /* Michael MIC TX key (used only if the hardware
+                                * supports both MIC keys in the same key cache entry;
+                                * in that case, kv_mic is the RX key) */
+       );
 };
 
 enum ath_cipher {