]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/zfs/zfs_lz4.c: Add missing packed attribute.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 14 Jul 2013 14:29:33 +0000 (16:29 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 14 Jul 2013 14:29:33 +0000 (16:29 +0200)
ChangeLog
grub-core/fs/zfs/zfs_lz4.c

index 902e66556f3230607564d1bc6844055be4506eb9..9058cd7f27f0f54c31c96933f6163351a9a2edf2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-14  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/fs/zfs/zfs_lz4.c: Add missing packed attribute.
+
 2013-07-14  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Fix improper cast.
index 4233a435e487c6cac047ebc9edd96c1dac0b1466..530c63afb5814d446a825d383a124b87a2d4afb2 100644 (file)
@@ -99,13 +99,13 @@ typedef grub_size_t size_t;
 
 typedef struct _U16_S {
        U16 v;
-} U16_S;
+} __attribute__ ((packed)) U16_S;
 typedef struct _U32_S {
        U32 v;
-} U32_S;
+} __attribute__ ((packed)) U32_S;
 typedef struct _U64_S {
        U64 v;
-} U64_S;
+} __attribute__ ((packed)) U64_S;
 
 #define        A64(x)  (((U64_S *)(x))->v)
 #define        A32(x)  (((U32_S *)(x))->v)