[libvirt] [PATCHv2 7/9] phyp: use consistent return string handling

Matthias Bolte matthias.bolte at googlemail.com
Fri Apr 15 20:31:34 UTC 2011


2011/4/14 Eric Blake <eblake at redhat.com>:
> Use the name 'ret' for all phypExec results, to make it easier
> to wrap phypExec.  Don't allow a possibly NULL ret through printf.
>
> * src/phyp/phyp_driver.c (phypBuildVolume, phypDestroyStoragePool)
> (phypBuildStoragePool, phypBuildLpar): Avoid NULL dereference.
> (phypInterfaceDestroy): Avoid redundant free.
> (phypVolumeLookupByPath, phypVolumeGetPath): Use consistent
> naming.
> ---
>  src/phyp/phyp_driver.c |   37 +++++++++++++++++--------------------
>  1 files changed, 17 insertions(+), 20 deletions(-)
>

ACK.

Matthias




More information about the libvir-list mailing list