From e34dbedbf0d4f3536e1f2a11f4f717193690aa55 Mon Sep 17 00:00:00 2001 From: kevlo Date: Tue, 16 Jan 2024 12:21:02 +0000 Subject: [PATCH] Fix clang warning about possible unaligned access on arm64. ok stsp@ --- sys/dev/pci/if_iwmreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_iwmreg.h b/sys/dev/pci/if_iwmreg.h index af10511b10d..2d6fab53212 100644 --- a/sys/dev/pci/if_iwmreg.h +++ b/sys/dev/pci/if_iwmreg.h @@ -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 -- 2.20.1