From patchwork Tue Nov 5 17:52:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy Shapiro X-Patchwork-Id: 3143171 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C15A69F407 for ; Tue, 5 Nov 2013 17:53:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43CA420439 for ; Tue, 5 Nov 2013 17:53:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1FD9A200C6 for ; Tue, 5 Nov 2013 17:53:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753703Ab3KERxa (ORCPT ); Tue, 5 Nov 2013 12:53:30 -0500 Received: from mailp.voltaire.com ([193.47.165.129]:46353 "EHLO mellanox.co.il" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752857Ab3KERx3 (ORCPT ); Tue, 5 Nov 2013 12:53:29 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from guysh@mellanox.com) with SMTP; 5 Nov 2013 19:53:22 +0200 Received: from vnc14.mtl.labs.mlnx (vnc14.mtl.labs.mlnx [10.7.2.14]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id rA5HrLZm004766; Tue, 5 Nov 2013 19:53:21 +0200 From: Guy Shapiro To: sean.hefty@intel.com Cc: linux-rdma@vger.kernel.org, Guy Shapiro Subject: [PATCH] librdmacm: Some fixes to man pages Date: Tue, 5 Nov 2013 19:52:20 +0200 Message-Id: <1383673940-15683-1-git-send-email-guysh@mellanox.com> X-Mailer: git-send-email 1.7.11.3 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the man pages of rdma_destroy_ep & rdma_destroy_qp to the correct return value (void). --- man/rdma_destroy_ep.3 | 5 +---- man/rdma_destroy_qp.3 | 3 --- 2 files changed, 1 insertions(+), 7 deletions(-) diff --git a/man/rdma_destroy_ep.3 b/man/rdma_destroy_ep.3 index b48a1e5..750702a 100644 --- a/man/rdma_destroy_ep.3 +++ b/man/rdma_destroy_ep.3 @@ -5,16 +5,13 @@ rdma_destroy_ep \- Release a communication identifier. .SH SYNOPSIS .B "#include " .P -.B "int" rdma_destroy_ep +.B "void" rdma_destroy_ep .BI "(struct rdma_cm_id *" id ");" .SH ARGUMENTS .IP "id" 12 The communication identifier to destroy. .SH "DESCRIPTION" Destroys the specified rdma_cm_id and all associated resources -.SH "RETURN VALUE" -Returns 0 on success, or -1 on error. If an error occurs, errno will be -set to indicate the failure reason. .SH "NOTES" rdma_destroy_ep will automatically destroy any QP and SRQ associated with the rdma_cm_id. diff --git a/man/rdma_destroy_qp.3 b/man/rdma_destroy_qp.3 index aeff667..bb1360e 100644 --- a/man/rdma_destroy_qp.3 +++ b/man/rdma_destroy_qp.3 @@ -11,9 +11,6 @@ rdma_destroy_qp \- Deallocate a QP. RDMA identifier. .SH "DESCRIPTION" Destroy a QP allocated on the rdma_cm_id. -.SH "RETURN VALUE" -Returns 0 on success, or -1 on error. If an error occurs, errno will be -set to indicate the failure reason. .SH "NOTES" Users must destroy any QP associated with an rdma_cm_id before destroying the ID.