[libvirt] [PATCH] Make check_fc_host() and check_vport_capable() usable as rvalues

Eric Blake eblake at redhat.com
Thu Mar 31 21:09:19 UTC 2011


On 03/31/2011 02:47 PM, Guido Günther wrote:
> This is needed on non linux ports using HAL in gather_scsi_host_cap.
> 
> Noticed while porting to kfreebsd.
> 
> O.k. to apply?
>  -- Guido
> ---
>  src/node_device/node_device_driver.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

ACK.

>  # else  /* __linux__ */
>  
> -#  define check_fc_host(d)
> -#  define check_vport_capable(d)
> +#  define check_fc_host(d)                      (-1)
> +#  define check_vport_capable(d)                (-1)

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110331/36b1a2ea/attachment-0001.sig>


More information about the libvir-list mailing list