[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] unlzma: fix build of stubdom unsafe decompressors
commit 419c5fb192cac87c0d7eec8d7c349e73c7f2854a Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Fri Mar 14 13:07:38 2014 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Mar 14 13:07:38 2014 +0100 unlzma: fix build of stubdom unsafe decompressors c/s b683d68c386 changed the packing attribute on struct lzma_header. However, this is 3rd library code used by stubdomains. Revert the change to lzma_header alone to avoid needless divergence from its source. Reported-by: Sander Eikelenboom <linux@xxxxxxxxxxxxxx> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/common/unlzma.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/common/unlzma.c b/xen/common/unlzma.c index 103d2df..a7da55b 100644 --- a/xen/common/unlzma.c +++ b/xen/common/unlzma.c @@ -214,11 +214,11 @@ rc_bit_tree_decode(struct rc *rc, uint16_t *p, int num_levels, int *symbol) */ -struct __packed lzma_header { +struct lzma_header { uint8_t pos; uint32_t dict_size; uint64_t dst_size; -}; +} __attribute__((packed)) ; #define LZMA_BASE_SIZE 1846 -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |