From 40d5f104cad1bedd27ff18dc0039ea6da11fa676 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Tue, 21 Dec 2010 17:24:29 -0800 Subject: [PATCH] --- yaml --- r: 223514 b: refs/heads/master c: 4e06fd14d5fa78826397c891654a37e5a36ee827 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/unaligned/packed_struct.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 3c0e0f8fb682..c236f8d5e4eb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 91facc22dec964683aef88f5620a790a6e46b98a +refs/heads/master: 4e06fd14d5fa78826397c891654a37e5a36ee827 diff --git a/trunk/include/linux/unaligned/packed_struct.h b/trunk/include/linux/unaligned/packed_struct.h index 2498bb9fe002..c9a6abd972a1 100644 --- a/trunk/include/linux/unaligned/packed_struct.h +++ b/trunk/include/linux/unaligned/packed_struct.h @@ -3,9 +3,9 @@ #include -struct __una_u16 { u16 x __attribute__((packed)); }; -struct __una_u32 { u32 x __attribute__((packed)); }; -struct __una_u64 { u64 x __attribute__((packed)); }; +struct __una_u16 { u16 x; } __attribute__((packed)); +struct __una_u32 { u32 x; } __attribute__((packed)); +struct __una_u64 { u64 x; } __attribute__((packed)); static inline u16 __get_unaligned_cpu16(const void *p) {