Re: [PATCH 1/4] src: Check for virDomainDiskInsert() retval properly

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

 



On Fri, Apr 26, 2019 at 15:52:20 +0200, Michal Privoznik wrote:
> Our coding style specifies that only negative values are considered as
> error. Check for return value of virDomainDiskInsert() properly,
> following the style. Not that the function can now return anything other
> than 0 or -1, but it just triggers my OCD.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/libxl/libxl_driver.c | 2 +-
>  src/lxc/lxc_driver.c     | 2 +-
>  src/qemu/qemu_driver.c   | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

ACK

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