From patchwork Mon Apr 23 18:28:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 10357993 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 346816019D for ; Mon, 23 Apr 2018 18:28:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2578A28BDA for ; Mon, 23 Apr 2018 18:28:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A54B28C03; Mon, 23 Apr 2018 18:28:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9122228BDA for ; Mon, 23 Apr 2018 18:28:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932254AbeDWS2F (ORCPT ); Mon, 23 Apr 2018 14:28:05 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:33377 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932194AbeDWS2E (ORCPT ); Mon, 23 Apr 2018 14:28:04 -0400 Received: by mail-qt0-f196.google.com with SMTP id f16-v6so15046192qth.0 for ; Mon, 23 Apr 2018 11:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=V7awfZTpRXfljZMlBMAa+7NopcZ2rAUcliQTF33jAd8=; b=XoImBuRv+4as+jBlCt9rpsSA7zWMK+cxGEp87dNhxCLlX27qcjBHaFqDAQUU+Rds8P +cyF/46coETf+OBb3QZ/dlWsKwQ4fp20OXUFPw+6YvZlcC+Fm/xhqb3+4vpatYIV6GO/ xsenapViGQ43KRy/uppShi/RREoxsnLZtpDmA4vQOfhpQ6ckZlyBHDNqEDnqQ1KkfaSU 0HsT6wi4Ok+wDJSEw2thMPKxPkyQhuJiptcr9YypHApt4ByFenvC8HhtS7JxlXPmmyh5 nK45pFXN4qCbYZtyLvhGe42l7/co6tb0NB/78eKPfhhB4F2b5vJTynDxzVDABg0TWgF6 MVYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=V7awfZTpRXfljZMlBMAa+7NopcZ2rAUcliQTF33jAd8=; b=iI5cPPlhGIYlDuvSDFlfggw4gJ/b9HVZzmynGV6Q/dPDzO3v0GnMvpkysCKnERIQHv 0A5CV0p8higfxaipJsGiZ8QPl6biv6f8O08h9fKz49C6pkFVcESw0k0hSIwjonkVJ3Ds qZ1eSynef6srdSSDHaFvuZfA78IJ48msEdwHSGOOvH7E6FNvnNAgONVWB2NizyhAIu7a DtEb3E/UcbEA/xrJ1ZmcVkS/TjbI1UkSqlcP3S5f27e6JuG9oXADVJI0wmNWzP9hah9F FVX8iCwRv2VJPAdfni8Nmcw3B7VH31W74BLuDTdxlqJEtYFzNlqGhNyK0SJdkHTlUhPs IdlA== X-Gm-Message-State: ALQs6tDHrkvWo/nhevC3QjAkz+ZpHfFjpMnkO6R0C+Ojp8h9dEftzzZd Z+ZqkIuUQugzn2x5cOFwUTyGiJMQ X-Google-Smtp-Source: AIpwx492hRTkacvIgzsS1cSwclMS3zWfV4w5Nn+yqPmtCecyrhBiP45SBsYRBbfXZmKE0bWYK9+0nw== X-Received: by 2002:aed:2962:: with SMTP id s89-v6mr23879125qtd.162.1524508083957; Mon, 23 Apr 2018 11:28:03 -0700 (PDT) Received: from [192.168.1.183] (c-73-182-207-166.hsd1.ma.comcast.net. [73.182.207.166]) by smtp.googlemail.com with ESMTPSA id m66sm10691062qkl.57.2018.04.23.11.28.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 11:28:03 -0700 (PDT) To: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH rdma-core 2/2] libibumad/man/umad_open_port.3: Update return values Message-ID: <79d1a6c0-fc5e-433c-570a-7d1b99bf03a2@dev.mellanox.co.il> Date: Mon, 23 Apr 2018 14:28:03 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP with -EOPNOTSUPP when ABI version doesn't match This was added in: commit abf72057c27750275d0668375d30c4971911d041 Author: Jason Gunthorpe 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 --- libibumad/man/umad_open_port.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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),