Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Do not pack struct iwn_fw_dump.



details:   https://anonhg.NetBSD.org/src-all/rev/dacdd9e2ecd4
branches:  trunk
changeset: 370986:dacdd9e2ecd4
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Thu Oct 08 20:26:54 2020 +0200

description:
Do not pack struct iwn_fw_dump.

It is naturaly aligned already and gcc 9 does not like taking an adress
otherwise.

diffstat:

 sys/dev/pci/if_iwnreg.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a2e8a7bf0bb3 -r dacdd9e2ecd4 sys/dev/pci/if_iwnreg.h
--- a/sys/dev/pci/if_iwnreg.h   Sun Oct 04 18:50:37 2020 +1100
+++ b/sys/dev/pci/if_iwnreg.h   Thu Oct 08 20:26:54 2020 +0200
@@ -1447,7 +1447,7 @@
        uint32_t        src_line;
        uint32_t        tsf;
        uint32_t        time[2];
-} __packed;
+};
 
 /* TLV firmware header. */
 struct iwn_fw_tlv_hdr {



Home | Main Index | Thread Index | Old Index