From patchwork Thu Mar 18 12:44:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 404021 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp443807jai; Thu, 18 Mar 2021 05:45:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjXMt5kAghKM7isvJxel89Ua65+5jR2fniUQRzhPS8RDs9K7thIVaDeEpAhwvAEY8N5GVK X-Received: by 2002:a17:906:2ac1:: with SMTP id m1mr31041778eje.472.1616071532361; Thu, 18 Mar 2021 05:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616071532; cv=none; d=google.com; s=arc-20160816; b=vCjbjGbV2M/gqvN9W1Z+BIUUOdbFe43kWioHeq8haRPSKjZsXYtKtsJgeCu+X2AENh UTuAHzNwQrEQwmo8QP4z89COoa/AGZI4XyD7Avbi0WxlAb4uv/bd758aLfvqW3fujlgD JEaUFrzeUhCE/drNVlaEh4CQ4iNLpvoGIXD4jao9HfNOeNAXISx+L76GoAQE2Opu/CMu FwxlV8lb3JI7b7J0crpNiTDNqcJLP4O7v6Rs79xqhS7/k4BD4OOS/5eM2wZ0RgzqAvvm x4XXvkB3FmSn1bg4vnF0U/XLOeE6fBKilWNt2td9tYQRFAY8a1J7AGKd+TszdYAqk27I Refg== 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=fF7gB6sP/3+k+bPJOH8l2H9WJYWzf3WGmi+VKAyvcWLteG/lqsmBWaNqFPjg5T8nSl t1KaEM5zMcK7RXya9JXsRgK90cwP5W0qSafWjTWfhiV4qRzLFgS+Z0SSQ0dtG4Lcual1 nZXQLdgXnn2Mg8/dwZG8z4Pirnxy2g05xpf4+O7F0cZHAzMZkxWC/y6XROyd84xuV0BB 4OBN0qRPAV4nACThlqOQI44YEXZclDdyw0ovOp/hO4VnwilCt0g+acNADnKeOH8Gh5DG p59DZm7Wn3QdWW2V79lXjp3bg0qBsfL4rYkC3BPPsUPlkNA4w9SQqeke+aoupLSZM/sX 4hLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GB1tHMwO; 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 y21si1526558edo.16.2021.03.18.05.45.32; Thu, 18 Mar 2021 05:45:32 -0700 (PDT) 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=GB1tHMwO; 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 S231316AbhCRMo6 (ORCPT + 3 others); Thu, 18 Mar 2021 08:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbhCRMof (ORCPT ); Thu, 18 Mar 2021 08:44:35 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D106C06175F for ; Thu, 18 Mar 2021 05:44:34 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id j7so5392371wrd.1 for ; Thu, 18 Mar 2021 05:44:34 -0700 (PDT) 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=GB1tHMwOe8xB2YCpzMzEyAQ/aaFW/MRJKBLj+9Zqr1WZTsDxjjyqXq/HD7Gk7pnbs8 ZZhHAqdQUcQtHN7PLy4pmYIdfC5Skh8ZF8R3GKwuDEXxZlmXsnTrHFpdTmq+k0520N/O Qz2XoGjmE3LLPhujJ1oXCi5u+PpGpEtgnIm0rKrk0oK3TvU9liZFROdY6k/sGNuJlqYh fynD0wYZzkCuN/s+0pN6/c5fCLJ0pAn1+AcIvQc/W2zDeUBntfZRgfitkJnpzPM7LHa8 TIJpMQAmFF9kbeKq1RN9dvAtXGqFOD4EKmd3ZuQlBu0hSzGpFjO8BeqGA7lklCcaa+9f gCfg== 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=B1ezZDigD5sicJapDDlSMXF5x0LaVOLS10CdDh8TvgYA0+zvz9PZ8muL3RuG2dWd1S K8rdmwxj83ylJyoN31iARtpSUzw0lmbtQxc+Iq5DFooO31JVPQLAt3QB6EbBVSPHW2I3 6jMKDma83H+eydS7McDlt9WLyYIR8S8tPiHttSDi3zEFgZ77wvC9uQrIlzU+4t+0mNcz A1zy9KqBiahWzYClm9vx10EYpKmtUHda5snvV0HOXcgzqY7soY5sGFRiflJJDp+wetod 66P/Kgmr0aofwx/Y3swfGkRxied2iinJw12/vr7AU5QmQ5mXWuUfe7iFQh1qiMPK5GPf OKaQ== X-Gm-Message-State: AOAM530xQBCt2TCdhdUMn4v+GHtsAnYxjdR/XaKrICwSnL4FdtKOvk4L m9X+DnmSc9KCjv3mZk1jME5uEw== X-Received: by 2002:a05:6000:114e:: with SMTP id d14mr9605253wrx.236.1616071473401; Thu, 18 Mar 2021 05:44:33 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id q15sm2813900wrx.56.2021.03.18.05.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 05:44:33 -0700 (PDT) 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: Thu, 18 Mar 2021 12:44:15 +0000 Message-Id: <20210318124422.3200180-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210318124422.3200180-1-lee.jones@linaro.org> References: <20210318124422.3200180-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.