Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Mmh, surprising bug. It's __packed, not __packed...
details: https://anonhg.NetBSD.org/src/rev/ee4826f7bd17
branches: trunk
changeset: 357690:ee4826f7bd17
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Nov 21 10:55:23 2017 +0000
description:
Mmh, surprising bug. It's __packed, not __packed__. Here the structure is
not packed for real, but instead a global __packed__ symbol is declared.
diffstat:
sys/dev/pci/mlyreg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 99a3472f1f67 -r ee4826f7bd17 sys/dev/pci/mlyreg.h
--- a/sys/dev/pci/mlyreg.h Tue Nov 21 10:45:12 2017 +0000
+++ b/sys/dev/pci/mlyreg.h Tue Nov 21 10:55:23 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mlyreg.h,v 1.5 2008/09/08 23:36:54 gmcgarry Exp $ */
+/* $NetBSD: mlyreg.h,v 1.6 2017/11/21 10:55:23 maxv Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -286,7 +286,7 @@
#define MLY_STARTUP_ALWAYS 0x5
u_int8_t res15[62];
-} __packed__;
+} __packed;
/*
* 10.2 Physical Device Parameters
Home |
Main Index |
Thread Index |
Old Index