* grub-core/fs/zfs/zfs_lz4.c: Add missing packed attribute.
This commit is contained in:
parent
68714c4392
commit
795b3dc094
2 changed files with 7 additions and 3 deletions
|
@ -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>
|
2013-07-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Fix improper cast.
|
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Fix improper cast.
|
||||||
|
|
|
@ -99,13 +99,13 @@ typedef grub_size_t size_t;
|
||||||
|
|
||||||
typedef struct _U16_S {
|
typedef struct _U16_S {
|
||||||
U16 v;
|
U16 v;
|
||||||
} U16_S;
|
} __attribute__ ((packed)) U16_S;
|
||||||
typedef struct _U32_S {
|
typedef struct _U32_S {
|
||||||
U32 v;
|
U32 v;
|
||||||
} U32_S;
|
} __attribute__ ((packed)) U32_S;
|
||||||
typedef struct _U64_S {
|
typedef struct _U64_S {
|
||||||
U64 v;
|
U64 v;
|
||||||
} U64_S;
|
} __attribute__ ((packed)) U64_S;
|
||||||
|
|
||||||
#define A64(x) (((U64_S *)(x))->v)
|
#define A64(x) (((U64_S *)(x))->v)
|
||||||
#define A32(x) (((U32_S *)(x))->v)
|
#define A32(x) (((U32_S *)(x))->v)
|
||||||
|
|
Loading…
Reference in a new issue