Fix clang warning about possible unaligned access on arm64.
authorkevlo <kevlo@openbsd.org>
Tue, 16 Jan 2024 12:21:02 +0000 (12:21 +0000)
committerkevlo <kevlo@openbsd.org>
Tue, 16 Jan 2024 12:21:02 +0000 (12:21 +0000)
ok stsp@

sys/dev/pci/if_iwmreg.h

index af10511..2d6fab5 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_iwmreg.h,v 1.68 2022/03/19 10:26:52 stsp Exp $     */
+/*     $OpenBSD: if_iwmreg.h,v 1.69 2024/01/16 12:21:02 kevlo Exp $    */
 
 /******************************************************************************
  *
@@ -3361,7 +3361,7 @@ struct iwm_rx_mpdu_desc_v1 {
                        uint32_t phy_data0;
                        uint32_t phy_data1;
                };
-       };
+       } __packed;
 } __packed;
 
 #define IWM_RX_REORDER_DATA_INVALID_BAID       0x7f