From: kevlo Date: Tue, 16 Jan 2024 12:21:02 +0000 (+0000) Subject: Fix clang warning about possible unaligned access on arm64. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e34dbedbf0d4f3536e1f2a11f4f717193690aa55;p=openbsd Fix clang warning about possible unaligned access on arm64. ok stsp@ --- 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