Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2066679rwd; Tue, 13 Jun 2023 19:37:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7TvJcK3UMen3xLM+47aFSMlu9BfOwr5pFbmirgvrTbn6cKrmvpUzzLE9F7Lfx4taF5KBU0 X-Received: by 2002:a05:6359:229:b0:129:c4ce:9634 with SMTP id ej41-20020a056359022900b00129c4ce9634mr7478258rwb.10.1686710244863; Tue, 13 Jun 2023 19:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686710244; cv=none; d=google.com; s=arc-20160816; b=VMSnLC/4iqIRSd+aNpAoc1RGl4trE/Cw4CZ5zz35wD8ja6ZX7PB3JDKP0645baaaWs iBGcoN04r4ajDmKIUnLwbZb6/zwNaZkd3UKZvnIrRefPjGL0b1mK3+1MXbpXtY+z9VX3 WtoVCCk5rHWF4Mkhon+iwx43lHEsQ/A0USk31QzTFPIpkSwSMdwMJIQgr1K3bgjTMZEu 9Cd7N08WIh/Gq2/yZwq7I9ufGbusPpBHfssiAjxKS1ZS5xjftmdZmZ7EXFdyeY+SAaOo +Mcf1xWUWhsySeIFAe9jft33JqnhM/kIdpBrGL1hIBNH1VSgnmTGLnMj7mK8FvBT1GUS Ow1w== 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 :message-id:date:subject:cc:to:from; bh=C1NIxFEhF28OOe7yfur0rz5g+sxalCnjIVCaXAU9Qu4=; b=oV1xSdDozn1SMrmkxjAAj04qtbbehAk1auhcvr3AKAkHF3FvBXj8j/JxUAks4cbBNa W4JsvWSfrV3hNh5eMIhuxyASFVLJ1n5fvoPyVKq525XhoEhTenMyf6S49KUEZXOixwLg xx6dtpAXIM2oJp9YUY5sbaXnAroU9Jm0GHy7TjOymQauQ7hZHz8webUjedLsPJXuBkNS eH9YA7L33vHfxOmMmylT0FpoGp7vQeouR8OkGRt6NSwfZo4rrTbWx6sw4JQ+stuvSVCH lGio/m1D+YaEpzhrJE2eQHyPHr4/4aS9n86IFHxZYVT7ByjxpUUwoTSzqtpcccjzTHYs LAsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e27-20020a63371b000000b0053fbb10e6basi10169154pga.494.2023.06.13.19.37.12; Tue, 13 Jun 2023 19:37:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242219AbjFNCTO (ORCPT + 99 others); Tue, 13 Jun 2023 22:19:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242221AbjFNCTI (ORCPT ); Tue, 13 Jun 2023 22:19:08 -0400 Received: from out30-101.freemail.mail.aliyun.com (out30-101.freemail.mail.aliyun.com [115.124.30.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38BFA1BD2; Tue, 13 Jun 2023 19:18:39 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0Vl4LWPN_1686709107; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vl4LWPN_1686709107) by smtp.aliyun-inc.com; Wed, 14 Jun 2023 10:18:36 +0800 From: Jiapeng Chong To: jejb@linux.ibm.com Cc: jarkko@kernel.org, zohar@linux.ibm.com, dhowells@redhat.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] security: keys: Modify mismatched function name Date: Wed, 14 Jun 2023 10:18:25 +0800 Message-Id: <20230614021825.64333-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional modification involved. security/keys/trusted-keys/trusted_tpm2.c:203: warning: expecting prototype for tpm_buf_append_auth(). Prototype was for tpm2_buf_append_auth() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5524 Signed-off-by: Jiapeng Chong --- security/keys/trusted-keys/trusted_tpm2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/keys/trusted-keys/trusted_tpm2.c b/security/keys/trusted-keys/trusted_tpm2.c index 2b2c8eb258d5..bc700f85f80b 100644 --- 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 hdrlen, } /** - * 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 -- 2.20.1.7.g153144c