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/90352bd0afda
branches:  trunk
changeset: 952590:90352bd0afda
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 37dcc05ff5b2 -r 90352bd0afda 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