mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 18:05:20 +00:00
Make check_fc_host() and check_vport_capable() usable as rvalues
as needed on non linux ports using HAL.
This commit is contained in:
parent
72ab0b6dc8
commit
d0bd206a61
@ -78,8 +78,8 @@ int read_wwn_linux(int host, const char *file, char **wwn);
|
||||
|
||||
# else /* __linux__ */
|
||||
|
||||
# define check_fc_host(d)
|
||||
# define check_vport_capable(d)
|
||||
# define check_fc_host(d) (-1)
|
||||
# define check_vport_capable(d) (-1)
|
||||
# define get_physical_function(sysfs_path, d)
|
||||
# define get_virtual_functions(sysfs_path, d)
|
||||
# define read_wwn(host, file, wwn)
|
||||
|
Loading…
x
Reference in New Issue
Block a user