From patchwork Mon Jan 2 20:45:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13087006 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB889C3DA7A for ; Mon, 2 Jan 2023 20:45:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233689AbjABUpl (ORCPT ); Mon, 2 Jan 2023 15:45:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232696AbjABUpj (ORCPT ); Mon, 2 Jan 2023 15:45:39 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 652166258; Mon, 2 Jan 2023 12:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=ejlIdJXYeoZP28gEN4XiJsWW1JI0RWVlmmFbAagiLr8=; b=Zh0O4kJThdX9L+WM8tXGxFJvyv rOO87L+qdrBbBaMIs361h5ZVLITnJ+kf70XEMbkpKkumRSwNQKZHtaX2XgNzNxuTPlsTyLdAk3oI8 aF7KXbcW4Pa3VdNmi5zNqfmoBBmdF8aqvDqrOAFhISEft8jfW+uhyqBa6LmOeYIOoCGJ2g8IROm0g JgiNpw3wloozWvIRXZ5FwU8Znq03PVFcisVmyXjYZ2DLyHDI/v4EqPDUsHN2b9OSHU6kaXEV7NONc v4xsvPxM0gzj7XwDJ0zEu8MTzJKF7eGIlqKFxxaJGkkZFGw40nN4dV9byEaWX0ZyT9kVJv8tw0MET e+gBVdUA==; Received: from [2601:1c2:d80:3110::a2e7] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCRgg-00EFad-Hi; Mon, 02 Jan 2023 20:45:38 +0000 From: Randy Dunlap To: linux-security-module@vger.kernel.org Cc: Randy Dunlap , James Bottomley , Jarkko Sakkinen , Mimi Zohar , linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, Paul Moore , James Morris , "Serge E. Hallyn" Subject: [PATCH] KEYS: trusted: tpm2: use correct function name in kernel-doc Date: Mon, 2 Jan 2023 12:45:37 -0800 Message-Id: <20230102204537.4842-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org Correct the function name in the kernel-doc notation to prevent a kernel-doc warning: security/keys/trusted-keys/trusted_tpm2.c:203: warning: expecting prototype for tpm_buf_append_auth(). Prototype was for tpm2_buf_append_auth() instead Signed-off-by: Randy Dunlap Cc: James Bottomley Cc: Jarkko Sakkinen Cc: Mimi Zohar Cc: linux-integrity@vger.kernel.org Cc: keyrings@vger.kernel.org Cc: Paul Moore Cc: James Morris Cc: "Serge E. Hallyn" Reviewed-by: Paul Moore --- security/keys/trusted-keys/trusted_tpm2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/security/keys/trusted-keys/trusted_tpm2.c b/security/keys/trusted-keys/trusted_tpm2.c --- a/security/keys/trusted-keys/trusted_tpm2.c +++ b/security/keys/trusted-keys/trusted_tpm2.c @@ -186,7 +186,7 @@ int tpm2_key_priv(void *context, size_t } /** - * tpm_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer. + * tpm2_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer. * * @buf: an allocated tpm_buf instance * @session_handle: session handle