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/c51f9cd8279a
branches: trunk
changeset: 951831:c51f9cd8279a
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 39123307826e -r c51f9cd8279a 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