Re: [PATCH 1/3] conf: Fix error flow in virDomainPCIAddressEnsureAddr()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 16, 2018 at 05:21:29PM +0100, Andrea Bolognani wrote:
> This avoids setting 'ret' multiple times, which will result
> in errors being masked if the first operation fails but the
> second one succeeds.
> 
> Introduced-by: f183b87fc1dbcc6446ac3c1cef9cdd345b9725fb
> Spotted-by: Coverity
> Reported-by: John Ferlan <jferlan@xxxxxxxxxx>
> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---
>  src/conf/domain_addr.c | 16 +++++++++++-----
>  1 file changed, 11 insertions(+), 5 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux