Re: [Qemu-devel] [PATCH 0/3] block: fix last address-of-packed-member warnings

2019-02-01 Thread Kevin Wolf
Am 01.02.2019 um 11:30 hat Peter Maydell geschrieben: > On Fri, 18 Jan 2019 at 16:17, Kevin Wolf wrote: > > > > Am 10.12.2018 um 12:26 hat Peter Maydell geschrieben: > > > This patchset fixes the remaining clang warnings in the block/ code > > > about taking the address of a packed struct member,

Re: [Qemu-devel] [PATCH 0/3] block: fix last address-of-packed-member warnings

2019-02-01 Thread Peter Maydell
On Fri, 18 Jan 2019 at 16:17, Kevin Wolf wrote: > > Am 10.12.2018 um 12:26 hat Peter Maydell geschrieben: > > This patchset fixes the remaining clang warnings in the block/ code > > about taking the address of a packed struct member, which are all > > in block/vpc and block/vdi code handling UUIDs

Re: [Qemu-devel] [PATCH 0/3] block: fix last address-of-packed-member warnings

2019-01-18 Thread Kevin Wolf
Am 10.12.2018 um 12:26 hat Peter Maydell geschrieben: > This patchset fixes the remaining clang warnings in the block/ code > about taking the address of a packed struct member, which are all > in block/vpc and block/vdi code handling UUIDs. Mostly I fix > these by copying the unaligned field to/fr

Re: [Qemu-devel] [PATCH 0/3] block: fix last address-of-packed-member warnings

2019-01-18 Thread Peter Maydell
Ping? thanks -- PMM On Mon, 10 Dec 2018 at 11:28, Peter Maydell wrote: > > This patchset fixes the remaining clang warnings in the block/ code > about taking the address of a packed struct member, which are all > in block/vpc and block/vdi code handling UUIDs. Mostly I fix > these by copying the

[Qemu-devel] [PATCH 0/3] block: fix last address-of-packed-member warnings

2018-12-10 Thread Peter Maydell
This patchset fixes the remaining clang warnings in the block/ code about taking the address of a packed struct member, which are all in block/vpc and block/vdi code handling UUIDs. Mostly I fix these by copying the unaligned field to/from a local variable. In the case of qemu_uuid_bswap() I opted