From patchwork Tue Apr 9 13:11:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10891233 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0EB2B1669 for ; Tue, 9 Apr 2019 13:11:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFD00288C9 for ; Tue, 9 Apr 2019 13:11:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE02E2890B; Tue, 9 Apr 2019 13:11:38 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 8E09C288DD for ; Tue, 9 Apr 2019 13:11:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbfDINLi (ORCPT ); Tue, 9 Apr 2019 09:11:38 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:35098 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbfDINLh (ORCPT ); Tue, 9 Apr 2019 09:11:37 -0400 Received: by mail-qt1-f193.google.com with SMTP id h39so1477016qte.2 for ; Tue, 09 Apr 2019 06:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bp36tgdiJy909BC9qJn7f5bA8bzqOjHlQPqswHdiAlU=; b=GlcFbvVJj14zPLHMgmFY18Cen3rTPhNCrj0okhuN6+FhJCFvG1fXEcbkvrxkWV43aJ q2bIdlv74rJhu9wcUJcq84ASGx/clgq8GC7V0+sTW6JfzaB7AxjJyk3BfEsw29jKiPL/ aObrUIFbw14x3qBHsMSfBjZ3CYs0Vl47fA0rk8MjivjKc1NW0gyET3fV3GfgPo4F6hVl a63TyLfoQXvQsNgizgPXz/+Uynet0N/ihmPSTA5I2Tp9Ffi2RLI7zI4AfVfuGAt0WhBi XEuQYVdTM/e4cMK5KZ/SCi6cu7N0Zq03zKh848rTJ2XLzhDdB75+cni05WcKm+I8gus5 4bhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bp36tgdiJy909BC9qJn7f5bA8bzqOjHlQPqswHdiAlU=; b=rByF9hVLv1mUzu3PhCOqN4M96cRopKzungu9wq8zBW2rhiPYtztRcQ64lVumMVYtA6 dxFLBX2tHXxRtSGMLZn4GkFtcLwZyxeaCBun48hskN9KKIj1b3CAHIoX60Od1MlF8/Zt F/3Z5jowgsYigwQ8kXmSuHIjPXg5jTmNJ5Msg1Ba8PNcd4q89V9/8U7WE1Jh4NhX4ItB hBegrY4oUjUn/3Ln5KgvJr38U6P2RBG6zPYN93XyBL1NY4GEemTVo5bdP6ItbaVNXJOj DRNhAVToEYT83INbGUxH16zDKHc3nciE6601EYmW86x3FPSndSODCQBbQlVRCrkbGKdd UwSQ== X-Gm-Message-State: APjAAAXRpp1SNZBoQzXrv4HDTd6H7IWYSu6sFIlOw+np3yU48WRMOtYq aA8GBcrszoQSKez5703+hx6lZk+935Q= X-Google-Smtp-Source: APXvYqx25n+GUlB17jIVigpqnU9YK/3NAqEOxFK27oz8go9pS6k3nl4S3VcPnT+JdQxJGzLNwUej0w== X-Received: by 2002:ac8:51cd:: with SMTP id d13mr30695298qtn.45.1554815496943; Tue, 09 Apr 2019 06:11:36 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id p6sm22100193qtk.70.2019.04.09.06.11.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 06:11:36 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hDqXH-0004EI-O2; Tue, 09 Apr 2019 10:11:35 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH ibdiags 05/16] ibdiags: Remove IN/OUT notations Date: Tue, 9 Apr 2019 10:11:22 -0300 Message-Id: <20190409131133.16140-6-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190409131133.16140-1-jgg@ziepe.ca> References: <20190409131133.16140-1-jgg@ziepe.ca> MIME-Version: 1.0 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 From: Jason Gunthorpe This is not part of the ibdiags coding style. Signed-off-by: Jason Gunthorpe --- src/ibdiag_sa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ibdiag_sa.c b/src/ibdiag_sa.c index bbb71391431626..a5b99ad8b9a56e 100644 --- a/src/ibdiag_sa.c +++ b/src/ibdiag_sa.c @@ -199,7 +199,7 @@ static const char *ib_sa_error_str[] = { #define ARR_SIZE(a) (sizeof(a)/sizeof((a)[0])) #define SA_ERR_UNKNOWN (ARR_SIZE(ib_sa_error_str) - 1) -static inline const char *ib_sa_err_str(IN uint8_t status) +static inline const char *ib_sa_err_str(uint8_t status) { if (status > SA_ERR_UNKNOWN) status = SA_ERR_UNKNOWN; @@ -219,7 +219,7 @@ static const char *ib_mad_inv_field_str[] = { }; #define MAD_ERR_UNKNOWN (ARR_SIZE(ib_mad_inv_field_str) - 1) -static inline const char *ib_mad_inv_field_err_str(IN uint8_t f) +static inline const char *ib_mad_inv_field_err_str(uint8_t f) { if (f > MAD_ERR_UNKNOWN) f = MAD_ERR_UNKNOWN;