From patchwork Thu Oct 29 15:48:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11866725 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D9657139F for ; Thu, 29 Oct 2020 15:48:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B564120838 for ; Thu, 29 Oct 2020 15:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603986521; bh=IvQP1dDAbNODidswNW7by3Hqoc8OdOVCEcn2toqRwHA=; h=From:To:Cc:Subject:Date:List-ID:From; b=GnPjq8yxTRkVrfXTIsByCRgs83OXvnVQPn4G4CoTlNacPM9NWyL5K/FwnQXqgpLFD 3kStC0e8KAWvBoxFtiOI1UG+5+rjRhkAG72jYbquOZgkzVu2p7UDy5RLTXstXJLdBB jekMyt4iIapV7BPNmc39kQyM6K/gIXPHcbCpE9gY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbgJ2Psi (ORCPT ); Thu, 29 Oct 2020 11:48:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:54274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728112AbgJ2Psi (ORCPT ); Thu, 29 Oct 2020 11:48:38 -0400 Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch [84.226.167.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B1E5B2076B; Thu, 29 Oct 2020 15:48:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603986517; bh=IvQP1dDAbNODidswNW7by3Hqoc8OdOVCEcn2toqRwHA=; h=From:To:Cc:Subject:Date:From; b=lCc5ALxazQH5Yvn1QsYl4aM9AsWW1OS/NX0icDf7qFCmXCu5acBDNaI1KJq7RUL15 VnTUUFeFOFxaraYxAqiEfC7V9ApLlQNSuAJYyUZ0kctp25MYqpsJ3NCIY0nPw6f6rV Oa+0JTPKKOKvK4v2yRpleb6pWvHUUO3jfaUBwci0= From: Krzysztof Kozlowski To: David Howells , Herbert Xu , "David S. Miller" , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Randy Dunlap Subject: [RESEND PATCH] KEYS: asymmetric: Fix kerneldoc Date: Thu, 29 Oct 2020 16:48:30 +0100 Message-Id: <20201029154830.26997-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org Fix W=1 compile warnings (invalid kerneldoc): crypto/asymmetric_keys/asymmetric_type.c:160: warning: Function parameter or member 'kid1' not described in 'asymmetric_key_id_same' crypto/asymmetric_keys/asymmetric_type.c:160: warning: Function parameter or member 'kid2' not described in 'asymmetric_key_id_same' crypto/asymmetric_keys/asymmetric_type.c:160: warning: Excess function parameter 'kid_1' description in 'asymmetric_key_id_same' crypto/asymmetric_keys/asymmetric_type.c:160: warning: Excess function parameter 'kid_2' description in 'asymmetric_key_id_same' Signed-off-by: Krzysztof Kozlowski Acked-by: Randy Dunlap Reviewed-by: Ben Boeckel Reviewed-by: Jarkko Sakkinen --- crypto/asymmetric_keys/asymmetric_type.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crypto/asymmetric_keys/asymmetric_type.c b/crypto/asymmetric_keys/asymmetric_type.c index 33e77d846caa..ad8af3d70ac0 100644 --- a/crypto/asymmetric_keys/asymmetric_type.c +++ b/crypto/asymmetric_keys/asymmetric_type.c @@ -152,7 +152,8 @@ EXPORT_SYMBOL_GPL(asymmetric_key_generate_id); /** * asymmetric_key_id_same - Return true if two asymmetric keys IDs are the same. - * @kid_1, @kid_2: The key IDs to compare + * @kid1: The key ID to compare + * @kid2: The key ID to compare */ bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1, const struct asymmetric_key_id *kid2) @@ -168,7 +169,8 @@ EXPORT_SYMBOL_GPL(asymmetric_key_id_same); /** * asymmetric_key_id_partial - Return true if two asymmetric keys IDs * partially match - * @kid_1, @kid_2: The key IDs to compare + * @kid1: The key ID to compare + * @kid2: The key ID to compare */ bool asymmetric_key_id_partial(const struct asymmetric_key_id *kid1, const struct asymmetric_key_id *kid2)