[Libvirt-cim] [PATCHv2 2/4] FilterEntry: Fix endianness issues

John Ferlan jferlan at redhat.com
Wed Nov 13 18:34:19 UTC 2013


On 11/13/2013 01:07 PM, Viktor Mihajlovski wrote:
> From: Thilo Boehm <tboehm at linux.vnet.ibm.com>
> 
> A number of CIM properties was set in an endianness-unsafe manner
> leading to failures on big endian systems.
> 
> Signed-off-by: Thilo Boehm <tboehm at linux.vnet.ibm.com>
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
>  src/Virt_FilterEntry.c |   53 +++++++++++++++++++++++++-----------------------
>  src/Virt_FilterEntry.h |    2 +-
>  src/Virt_FilterList.c  |    3 ++-
>  3 files changed, 31 insertions(+), 27 deletions(-)
> 
> V2 Changes:
>  - The FilterEntry "Priority" property is a signed 16bit value, fix
>    the variable declaration accordingly
>  - Change the convert_xxx functions to return a properly typed int value
> 

ACK and pushed too

John




More information about the Libvirt-cim mailing list