From patchwork Wed Mar 3 14:34:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12114657 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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=unavailable 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 8738DC433E6 for ; Thu, 4 Mar 2021 00:08:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6947264FB5 for ; Thu, 4 Mar 2021 00:08:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232359AbhCDAHV (ORCPT ); Wed, 3 Mar 2021 19:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239696AbhCCOhZ (ORCPT ); Wed, 3 Mar 2021 09:37:25 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47D6EC0611C0 for ; Wed, 3 Mar 2021 06:35:00 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id d11so23925864wrj.7 for ; Wed, 03 Mar 2021 06:35:00 -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=HZrsJeCHjZzLqDs78jg58TD58YS3CDAKgLNjuHszhbU=; b=fsK4tgYSmAtd236Nx4kix67WOEAP8Vq1qYBvdI4sTw930KBO3MiQI2ZR+ZTYrg+mU8 dqt/ute+MemtwlFyuFQVWKSaBE6FjUvnphQhfN/3dK1UzoWjkXahHEMDbY4hSDh1GtV5 tOl+B9q6QxeYaIs9DHZiN2Qt3TXmRAnhx1eHx9Q+8GKbEGkNipFHDsbnhtUiae8nwMIr J9f+PFqquA4pjI/2wN9MtoOvNZrQUPUQBJRxvKqnX3BTLf5sQNcFHmglHEdK9bMyAOEk xFxeoKk/xAlRgU9d7E8Ebd+OwV5os2DR1yalbq0EF4LGnC6LQ7Az/Uaol1uzJs+Tguj8 VmYA== 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=HZrsJeCHjZzLqDs78jg58TD58YS3CDAKgLNjuHszhbU=; b=ITcCy4nUmNSDVZFTaBUVQaPY1QGYSCkuNQLOojHtRzn7u0LXSbzPa+3bdWp3GEXcq+ 6DQ7I1WfgLzvb6UHOiqDfJwwoiUjOyCbJafShM8J69Uk5IKEKc3opZJyTMoNlt1bFDT6 GMNf72ARtb5uQjKCi1wPr7xIZoOrVWkZwk+hN/kphRLRkKt612+irqqCB13j1064xHbP rAtlu9dzEBm+Tuv8sbbel/kIVfsEx2NSHahsLnl/Y9IzE8cNLXJhPJpHUl6eHybWvG2M c3IOoIiGftBMzdrx9FswiO0xLKHQAvpFavl2sgY9QWYwOOQBXAWXpgtqJtP4N3TSMTcd UBsQ== X-Gm-Message-State: AOAM531oZIjVTzbuPc1ltBf7f776NVpw6T3Zjl71xlA8DHIojArmPwki roZmExMP1JkuhDthQViRRCfMYQ== X-Google-Smtp-Source: ABdhPJwez2D078AUg52DRyoL9Z4FSzWaAcFlY+EilZQ4R/0d3XV7eiwmgAmaClxmAuOh1aJQF9VHHA== X-Received: by 2002:adf:edc3:: with SMTP id v3mr26709243wro.79.1614782098770; Wed, 03 Mar 2021 06:34:58 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id f16sm31475923wrt.21.2021.03.03.06.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:34:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Ayush Sawal , Vinay Kumar Yadav , Rohit Maheshwari , Herbert Xu , "David S. Miller" , Manoj Malviya , Atul Gupta , Jitendra Lulla , M R Gowda , Harsh Jain , linux-crypto@vger.kernel.org Subject: [PATCH 03/10] crypto: chelsio: chcr_core: Fix some kernel-doc issues Date: Wed, 3 Mar 2021 14:34:42 +0000 Message-Id: <20210303143449.3170813-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303143449.3170813-1-lee.jones@linaro.org> References: <20210303143449.3170813-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/crypto/chelsio/chcr_core.c:2: warning: wrong kernel-doc identifier on line: drivers/crypto/chelsio/chcr_algo.c:806: warning: Function parameter or member 'wrparam' not described in 'create_cipher_wr' drivers/crypto/chelsio/chcr_algo.c:806: warning: Excess function parameter 'req' description in 'create_cipher_wr' drivers/crypto/chelsio/chcr_algo.c:806: warning: Excess function parameter 'ctx' description in 'create_cipher_wr' drivers/crypto/chelsio/chcr_algo.c:806: warning: Excess function parameter 'qid' description in 'create_cipher_wr' drivers/crypto/chelsio/chcr_algo.c:806: warning: Excess function parameter 'op_type' description in 'create_cipher_wr' drivers/crypto/chelsio/chcr_algo.c:1566: warning: Function parameter or member 'req' not described in 'create_hash_wr' drivers/crypto/chelsio/chcr_algo.c:1566: warning: Function parameter or member 'param' not described in 'create_hash_wr' Cc: Ayush Sawal Cc: Vinay Kumar Yadav Cc: Rohit Maheshwari Cc: Herbert Xu Cc: "David S. Miller" Cc: Manoj Malviya Cc: Atul Gupta Cc: Jitendra Lulla Cc: M R Gowda Cc: Harsh Jain Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones --- drivers/crypto/chelsio/chcr_algo.c | 8 +++----- drivers/crypto/chelsio/chcr_core.c | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/chelsio/chcr_algo.c b/drivers/crypto/chelsio/chcr_algo.c index f5a336634daa6..f77d3fd962bf8 100644 --- a/drivers/crypto/chelsio/chcr_algo.c +++ b/drivers/crypto/chelsio/chcr_algo.c @@ -797,10 +797,7 @@ static inline void create_wreq(struct chcr_context *ctx, /** * create_cipher_wr - form the WR for cipher operations - * @req: cipher req. - * @ctx: crypto driver context of the request. - * @qid: ingress qid where response of this WR should be received. - * @op_type: encryption or decryption + * @wrparam: Container for create_cipher_wr()'s parameters */ static struct sk_buff *create_cipher_wr(struct cipher_wr_param *wrparam) { @@ -1559,7 +1556,8 @@ static inline void chcr_free_shash(struct crypto_shash *base_hash) /** * create_hash_wr - Create hash work request - * @req - Cipher req base + * @req: Cipher req base + * @param: Container for create_hash_wr()'s parameters */ static struct sk_buff *create_hash_wr(struct ahash_request *req, struct hash_wr_param *param) diff --git a/drivers/crypto/chelsio/chcr_core.c b/drivers/crypto/chelsio/chcr_core.c index f91f9d762a45e..f03ef4a23f96d 100644 --- a/drivers/crypto/chelsio/chcr_core.c +++ b/drivers/crypto/chelsio/chcr_core.c @@ -1,4 +1,4 @@ -/** +/* * This file is part of the Chelsio T4/T5/T6 Ethernet driver for Linux. * * Copyright (C) 2011-2016 Chelsio Communications. All rights reserved.