From patchwork Wed Aug 19 17:52:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11724731 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 92717618 for ; Wed, 19 Aug 2020 17:52:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 774502067C for ; Wed, 19 Aug 2020 17:52:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597859546; bh=mARbbccibp0w+1VVZDf+WZpyqmdv+vpiA7azcsNO8a8=; h=From:To:Cc:Subject:Date:List-ID:From; b=oSrpXJOSUBG/czGU5CTpqNc4r1e2ojPnZCLh229sHDDHboqOsxCPfyhsYmzqBWZDp E4ryo0jLCnlT7yNjANeN7WAcbFiLHhRf01LhC57HsXDCiqSiSgHCI75Phpgiamr3J1 0nEpAJw8dhOGpF1W+pzrVcjk23v5/i3IVToLI2c0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726820AbgHSRwY (ORCPT ); Wed, 19 Aug 2020 13:52:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:52074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726578AbgHSRwU (ORCPT ); Wed, 19 Aug 2020 13:52:20 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.216]) (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 9A6CD2067C; Wed, 19 Aug 2020 17:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597859540; bh=mARbbccibp0w+1VVZDf+WZpyqmdv+vpiA7azcsNO8a8=; h=From:To:Cc:Subject:Date:From; b=K8afYfVtXLEOHFe1BlTb6CxX+sO5OcEaiQB3sUlKQuvzyGK7V8Dcy62weFFktkG4M fudltBQPDaApRwTm9UgHYqmV+MEbm/AwjxbDGIp9whSMKzvtBojX5oQaKL5bbdZwsP J9+TI0SKZSCw4I0m/Ft7aYnONn1IrL52laQfBvVk= 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 Subject: [RESEND PATCH] KEYS: asymmetric: Fix kerneldoc Date: Wed, 19 Aug 2020 19:52:12 +0200 Message-Id: <20200819175212.20583-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: keyrings-owner@vger.kernel.org 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 --- 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)