From mboxrd@z Thu Jan 1 00:00:00 1970 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 AFAE5C54EBD for ; Fri, 6 Jan 2023 21:22:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236314AbjAFVVt (ORCPT ); Fri, 6 Jan 2023 16:21:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236886AbjAFVVC (ORCPT ); Fri, 6 Jan 2023 16:21:02 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDFF5872AD for ; Fri, 6 Jan 2023 13:20:27 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id g20so2004328pfb.3 for ; Fri, 06 Jan 2023 13:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=D735tsLCLRgwW3YDOAiPa/WNPif3+zSkF8bjSdhwvpU=; b=LCpXDGuAzkW6sAhl68OaEbDsXqglF6dU/jW/kfKBzhHs+z1qhbx2IEp58dm/R1oBrX UiQjvIqDD6EnIF3WQXUqc/MAlDD5VHHdo65X6GQVp1xZbjUy1WN5QYHpPpnhDYV+R2ss 0pBmHYifxggc1sm7qYLxBvPfqyHnMLdTV0MtUM6hbXcYyFfk35bDyoZ/97bYaK+NsyZO Zh1JFd/wSIlDzliZkD/7fmJPLjCiPe9m5rd12pkBjc5eQkmy/+LEtOQSG6eLYU0gl/m7 G5DrMTOLLTuGVHXBOz8r9FKjLE1tHHQlQvs9nkuxpXNMUYtGpkpQ3UPdApPYcJcqMrOW XCow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D735tsLCLRgwW3YDOAiPa/WNPif3+zSkF8bjSdhwvpU=; b=QjNzvTGuqWwn/hAh2/VMJQDiAZxkVo5Zt1uRSdZlCZJ6+H40nNdC0bSsULm3FUiRms BmHOUG9VsDlwAgl8FzJmGoB8ttpWBRAK22GHBW36zhWH/whr+P/mHXqfQziAnflYzVWn NaKrAgGwwOauhkMlk1X73m7TxrTFhtzm/VG5DK1eBABMdg9ff8Xp5u5NJS3VW7Oc3yRL cU3ISslijSnjmlWPa/qJ13IZ8ndu9yUAbR+TJ6kkZWoNqCYtJQ3FnDRl6DWKiJCt/HOr YW/FLTBZWbQsqCEcGWZDPApg6MleRj76c2j7bp/cOHd6tkzE2UZs2tV4oJm2juz7M9aY g7CQ== X-Gm-Message-State: AFqh2krowYAL6AFsnlyhw/UqTBOL2sbMSm+lFaps6QniS/j9ka1dSo1o qhBz+1gxcKbLEUyrQRbg1DC+Nxau52rh0As6Jl5NhZvCltB1 X-Google-Smtp-Source: AMrXdXtBMlS9ssXipRSFnItDt9FgTwfSPmT0zlLXAUJLFwl6FtCHAqOxyXkHSoqChwk5HYucgzsgf7dZo879AqIAl3g= X-Received: by 2002:a63:4e5d:0:b0:478:42f:5a3d with SMTP id o29-20020a634e5d000000b00478042f5a3dmr3486392pgl.3.1673040027275; Fri, 06 Jan 2023 13:20:27 -0800 (PST) MIME-Version: 1.0 References: <20230102204537.4842-1-rdunlap@infradead.org> In-Reply-To: <20230102204537.4842-1-rdunlap@infradead.org> From: Paul Moore Date: Fri, 6 Jan 2023 16:20:16 -0500 Message-ID: Subject: Re: [PATCH] KEYS: trusted: tpm2: use correct function name in kernel-doc To: Randy Dunlap Cc: linux-security-module@vger.kernel.org, James Bottomley , Jarkko Sakkinen , Mimi Zohar , linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, James Morris , "Serge E. Hallyn" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: On Mon, Jan 2, 2023 at 3:45 PM Randy Dunlap wrote: > > 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" > --- > security/keys/trusted-keys/trusted_tpm2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Paul Moore > 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 -- paul-moore.com