Skip to content

Commit cc0e95c

Browse files
authored
Merge pull request #1712 from guyharris/fix-signedness-inconsistency
libibverbs: fix a signedness inconsistency in a return value.
2 parents 109428d + ae50fd7 commit cc0e95c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libibverbs/ibdev_nl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ int find_sysfs_devs_nl(struct list_head *tmp_sysfs_dev_list)
195195

196196
nl = rdmanl_socket_alloc();
197197
if (!nl)
198-
return -EOPNOTSUPP;
198+
return EOPNOTSUPP;
199199

200200
if (rdmanl_get_devices(nl, find_sysfs_devs_nl_cb, tmp_sysfs_dev_list))
201201
goto err;

0 commit comments

Comments
 (0)