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: 392648 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5614238jap; Wed, 3 Mar 2021 17:56:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz82FWDuMGcDYTl42Hd/idAph/YeAZ0CFkdVrddn1hJeVwguOWd+LrX1/6Z8I4SnqffaEwJ X-Received: by 2002:aa7:c98f:: with SMTP id c15mr1935861edt.231.1614822887258; Wed, 03 Mar 2021 17:54:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614822887; cv=none; d=google.com; s=arc-20160816; b=zjzdeoShSWXQS71dA1tqpvcEM6zZs6gb2irev9cpPa640U50aR6TrbWS7GesEWMZ/j zLMCWZNSwfddzRKWww9tdXJNf+kuzfeqwXS9W2KCUh5YydZOG9kqQnEh7Yky/+ZdTt7o V/+MOkw63GZcz58jdDsNSd3qBf/awqQG/R3x7UDwRlXyRA8TidC05ePc7cRf9m2RlPiz P2MJT1LTS5QXhPz1IVRUK/nquFp1fwMEuky8D3qToUaeRujuz1xxH1kCOR7vq1VjyRMT Nuowc5ivqOpyHur25P+w36lj/T6mNgWB/3UvQYCb1fBSNx0xX1Cfb99cC3DjwPKgx87H yHDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HZrsJeCHjZzLqDs78jg58TD58YS3CDAKgLNjuHszhbU=; b=S1txuxZIDY0LXp8/SzvaNyz4jhQXJ+PgZ+qEOFk3R1ni8S7Dzw36TXXtlz4xVUyIDs WO4Ub3TrYELRRMB+MCMXq/phlFWQrq4yxGxZDvkSoLmsBFB5Q1UJvU+QUoYOSA3NeBkG kO4vfEP+tZuA9gpb1CzFy6wYAq3XvZGCLxGmuu2VbBM88LMHnkpPxWJO58UCM8I3QGyn LdpxyOPCKyxpu01Ra+F+mcY/2TbJdBZ9QddGbbK6MMdOkePU8FeX8M+oHKVNTEUjIevL aUFGwIYxNdZBNIb3hTG1rFjfre3Hifprq58SvCG7gwVXRqmyZBNggZhZBAHM3btFGKHL SvzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fsK4tgYS; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si16189393ejd.307.2021.03.03.17.54.47; Wed, 03 Mar 2021 17:54:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fsK4tgYS; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232359AbhCDAHV (ORCPT + 2 others); 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-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(-) -- 2.27.0 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.