Re: [Qemu-devel] [PATCH v3 17/43] qdev: avoid type casts between signed and unsigned

2017-06-09 Thread Marc-André Lureau
Hi - Original Message - > Marc-André Lureau writes: > > > Modify the unsigned type for various properties to use QNUM_U64, to > > avoid type casts. > > > > There are a few empty lines added to improve code reading/style. > > > > Signed-off-by: Marc-André Lureau > > --- > > include/hw/q

Re: [Qemu-devel] [PATCH v3 17/43] qdev: avoid type casts between signed and unsigned

2017-06-08 Thread Markus Armbruster
Marc-André Lureau writes: > Modify the unsigned type for various properties to use QNUM_U64, to > avoid type casts. > > There are a few empty lines added to improve code reading/style. > > Signed-off-by: Marc-André Lureau > --- > include/hw/qdev-core.h | 1 + > include/hw/qdev-properties

[Qemu-devel] [PATCH v3 17/43] qdev: avoid type casts between signed and unsigned

2017-06-07 Thread Marc-André Lureau
Modify the unsigned type for various properties to use QNUM_U64, to avoid type casts. There are a few empty lines added to improve code reading/style. Signed-off-by: Marc-André Lureau --- include/hw/qdev-core.h | 1 + include/hw/qdev-properties.h | 29 - hw/co