提交 d0bd206a 编写于 作者: G Guido Günther

Make check_fc_host() and check_vport_capable() usable as rvalues

as needed on non linux ports using HAL.
上级 72ab0b6d
...@@ -78,8 +78,8 @@ int read_wwn_linux(int host, const char *file, char **wwn); ...@@ -78,8 +78,8 @@ int read_wwn_linux(int host, const char *file, char **wwn);
# else /* __linux__ */ # else /* __linux__ */
# define check_fc_host(d) # define check_fc_host(d) (-1)
# define check_vport_capable(d) # define check_vport_capable(d) (-1)
# define get_physical_function(sysfs_path, d) # define get_physical_function(sysfs_path, d)
# define get_virtual_functions(sysfs_path, d) # define get_virtual_functions(sysfs_path, d)
# define read_wwn(host, file, wwn) # define read_wwn(host, file, wwn)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册