[libvirt] [PATCH] network_conf.c: correct the value of the 'result' variable
Eric Blake
eblake at redhat.com
Thu Oct 31 17:18:15 UTC 2013
On 10/31/2013 06:20 PM, Hongwei Bi wrote:
> The result variable in virNetworkDNSDefFormat() function should be
> initialized to -1 at first,only in this way can we use it properly.
>
> Signed-off-by: Hongwei Bi <hwbi2008 at gmail.com>
> ---
> src/conf/network_conf.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
NACK. After applying your patch, 'make check' fails:
TEST: networkxml2xmltest
!!!!!!!.....!.!!!!!!!!!! 24 FAIL
FAIL: networkxml2xmlupdatetest
==============================
TEST: networkxml2xmlupdatetest
...!..!!!.!!!....!.!.!....!..!.........! 40 FAIL
Please don't submit patches that fail 'make check' or 'make
syntax-check'; it is a drain on reviewer resources.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131031/982db083/attachment-0001.sig>
More information about the libvir-list
mailing list