]> xenbits.xensource.com Git - xen.git/commit
libxl: dont pass array size to libxl__xs_kvs_of_flexarray()
authorJuergen Gross <jgross@suse.com>
Thu, 8 Sep 2016 07:20:23 +0000 (09:20 +0200)
committerWei Liu <wei.liu2@citrix.com>
Mon, 12 Sep 2016 09:17:10 +0000 (10:17 +0100)
commitaa3cbf0db6fc58f90c6c5da48c49e0a0ab659581
tree87a8fef10d594bdc481cd8bc33792ff5aac9455d
parent9f1f7e4642f263f4e05f872aa0417b2d840e14c4
libxl: dont pass array size to libxl__xs_kvs_of_flexarray()

Instead of passing the array size as an argument when calling
libxl__xs_kvs_of_flexarray() let the function get the size from the
array instead.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_nic.c
tools/libxl/libxl_pci.c
tools/libxl/libxl_usb.c
tools/libxl/libxl_vtpm.c
tools/libxl/libxl_xshelp.c