diff mbox

[rdma-core,2/2] libibumad/man/umad_open_port.3: Update return values

Message ID 79d1a6c0-fc5e-433c-570a-7d1b99bf03a2@dev.mellanox.co.il (mailing list archive)
State Accepted
Headers show

Commit Message

Hal Rosenstock April 23, 2018, 6:28 p.m. UTC
with -EOPNOTSUPP when ABI version doesn't match

This was added in:
commit abf72057c27750275d0668375d30c4971911d041
Author: Jason Gunthorpe <jgg@mellanox.com>
Date:   Thu Apr 5 11:04:14 2018 -0600

    umad: Do not check for umad sysfs files in umad_init

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 libibumad/man/umad_open_port.3 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/libibumad/man/umad_open_port.3 b/libibumad/man/umad_open_port.3
index cac01a7..bd7026b 100644
--- a/libibumad/man/umad_open_port.3
+++ b/libibumad/man/umad_open_port.3
@@ -24,11 +24,12 @@  for details).
 .SH "RETURN VALUE"
 .B umad_open_port()
 returns 0 or an unique positive value of umad device descriptor on success, and a negative value on error as follows:
- -ENODEV IB device can\'t be resolved
- -EINVAL port is not valid (bad
+ -EOPNOTSUPP ABI version doesn\'t match
+ -ENODEV     IB device can\'t be resolved
+ -EINVAL     port is not valid (bad
 .I portnum\fR
 or no umad device)
- -EIO    umad device for this port can\'t be opened
+ -EIO        umad device for this port can\'t be opened
 .SH "SEE ALSO"
 .BR umad_close_port (3),
 .BR umad_get_cas_names (3),