From patchwork Thu Jan 21 09:44:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12037323 X-Patchwork-Delegate: jgg@ziepe.ca Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72E75C433E9 for ; Thu, 21 Jan 2021 18:11:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1768F23A5A for ; Thu, 21 Jan 2021 18:11:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728360AbhAUSK7 (ORCPT ); Thu, 21 Jan 2021 13:10:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728901AbhAUJq6 (ORCPT ); Thu, 21 Jan 2021 04:46:58 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD50BC0617A1 for ; Thu, 21 Jan 2021 01:45:35 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id e15so939707wme.0 for ; Thu, 21 Jan 2021 01:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L2I8dCKIs3PfH9t5ebM9UIW4X6/Lh18WEUkSq5oyF1c=; b=Nv2ll40o/1jNkvdCMnMHS8IeGvGLQxo5qX+lL0/yj3gapBl0p+YUjhj4taNi8NgJpz ApPYPjbxdNur+YfZYdmDtWaYIg3Vk5ZchnPrTz8+w5gPgQJ+mETHyZVCoLPOX8/rF/AQ +uNYfWEJnvfP9r7Saq9S5H/PixWwbStCT/7K+l6w71MIOMh1ywv1wS05Si4RopylAjZw YmiGSdozEKgnY9Rvb+JDyEDQZcIRGxo4y9MvP5FONJrpUzuMg7lWtD6c4RfcEihk20LE ZqCz9M3X66cUaHDS1XuQFZblb1DVOXSDKNR3mgFT1kLGPAU/h8W5qDJQ4Uqr626zDUGq JZaw== 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=L2I8dCKIs3PfH9t5ebM9UIW4X6/Lh18WEUkSq5oyF1c=; b=gX19+PX41otIlDG8Ukt7hqelT4AyjY8WazqlrRghbtMCo2bfSvlDHzpgzCjwIpgDxT jmGz7wHPuGLdfkJNOPWJQY3W329mizddlW1bGrNpFBD5VJycozO6urnxHC7MQlWMaYll +XI/d5D4D/Y6cu7jX3n4WkO46A7gjsb6tdIDTjxB7Ce9C7MqD4XUtcMGoTghQ74HfvqU CW4O9rF5KdPeC2cMv6rsW1TVzVPM6htxHi0TKf61V+JXHJw/IlzhjB+0t+SSV70MycDi IBl32jtjZ2ZdXx5KE+e55UdJZSsvZPSfeP5SRQa+QNZw/hzd2Vv82l56bdggbyMSRupJ AE9g== X-Gm-Message-State: AOAM532YeG4uj1YlPBJ2TBBxEQJJytbKRXCHqhDiEQxMVZjimxOHyHEh w0w0VoVEaKUqopyVZ5zNrk/jrg1C7h6kg5zX X-Google-Smtp-Source: ABdhPJwQF2LMwnM2UWIfClu/IM8MwWBJ8P9C/RaSSGEx6Tgbv96zNiFUr+W7lvYe6cZlixx4F2U1zg== X-Received: by 2002:a7b:c854:: with SMTP id c20mr7978977wml.127.1611222334495; Thu, 21 Jan 2021 01:45:34 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id a17sm8185648wrs.20.2021.01.21.01.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 01:45:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Dennis Dalessandro , Mike Marciniszyn , Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org Subject: [PATCH 10/30] RDMA/hw/qib/qib_intr: Fix a bunch of formatting issues Date: Thu, 21 Jan 2021 09:44:59 +0000 Message-Id: <20210121094519.2044049-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210121094519.2044049-1-lee.jones@linaro.org> References: <20210121094519.2044049-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/qib/qib_intr.c:48: warning: Function parameter or member 'msg' not described in 'qib_format_hwmsg' drivers/infiniband/hw/qib/qib_intr.c:48: warning: Function parameter or member 'msgl' not described in 'qib_format_hwmsg' drivers/infiniband/hw/qib/qib_intr.c:48: warning: Function parameter or member 'hwmsg' not described in 'qib_format_hwmsg' drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'hwerrs' not described in 'qib_format_hwerrors' drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'hwerrmsgs' not described in 'qib_format_hwerrors' drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'nhwerrmsgs' not described in 'qib_format_hwerrors' drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'msg' not described in 'qib_format_hwerrors' drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'msgl' not described in 'qib_format_hwerrors' Cc: Dennis Dalessandro Cc: Mike Marciniszyn Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-rdma@vger.kernel.org Signed-off-by: Lee Jones --- drivers/infiniband/hw/qib/qib_intr.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_intr.c b/drivers/infiniband/hw/qib/qib_intr.c index 65c3b964ad1bf..85c3187d796d9 100644 --- a/drivers/infiniband/hw/qib/qib_intr.c +++ b/drivers/infiniband/hw/qib/qib_intr.c @@ -40,9 +40,9 @@ /** * qib_format_hwmsg - format a single hwerror message - * @msg message buffer - * @msgl length of message buffer - * @hwmsg message to add to message buffer + * @msg: message buffer + * @msgl: length of message buffer + * @hwmsg: message to add to message buffer */ static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg) { @@ -53,11 +53,11 @@ static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg) /** * qib_format_hwerrors - format hardware error messages for display - * @hwerrs hardware errors bit vector - * @hwerrmsgs hardware error descriptions - * @nhwerrmsgs number of hwerrmsgs - * @msg message buffer - * @msgl message buffer length + * @hwerrs: hardware errors bit vector + * @hwerrmsgs: hardware error descriptions + * @nhwerrmsgs: number of hwerrmsgs + * @msg: message buffer + * @msgl: message buffer length */ void qib_format_hwerrors(u64 hwerrs, const struct qib_hwerror_msgs *hwerrmsgs, size_t nhwerrmsgs, char *msg, size_t msgl)