Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6375111rwd; Mon, 19 Jun 2023 06:31:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sfIUqSa4jOhvipgzeL/sGc6TSd5NpgXgm05e45WuzVnVrvhXEoHu1JO91HRQj3HwW6Dru X-Received: by 2002:a17:90b:1c06:b0:25e:9ae8:4693 with SMTP id oc6-20020a17090b1c0600b0025e9ae84693mr11710392pjb.4.1687181467442; Mon, 19 Jun 2023 06:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687181467; cv=none; d=google.com; s=arc-20160816; b=lKPfqUrAf/Wbh8pdBFf8e0DihNSJIj00ObdYDKMxSbPI/JpqF6bM9p7aWaJ4QzxTcF 2T4hl0dRwIC+Mmp+mwjS1miVYsKeetTKlbsvVyNJvBcPm5c3qmgY8AsuR+ArjbJwx0wS 43DAmWrG9Iu5LJCmAxBBFMfjiaEvIUhQFZpvoQlzlDGvqL1NhY4om+B909jmknr35yU7 8EVNA1AWJdfFcuCXa+NGHCGQxWM7Q4BKgGhAmGWx86ajT6On0YiwyqRZqmSTLkgaFr+3 sfbcr5OKFhL6SELQxZw9SUpZHwjZMPGPLg5MYiBkL0xMyU/K384tlYHel6sJ39UwJLke YuQg== 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=5kK9osLij37L6XyRCuHpEqMp9CBwz104j+MkuvNO/88=; b=ZOezjko84z8yqZ0Hctv6nOlbKbNrioKC81yvM9m0KdPSn0G9b2UPylPsBTQWnKwHwP 98K5Votpv5xnIdkXu+hXxw5HbYTsfachKsWgTmkL5zPJpVgQeoBVAIzc71QONPKa2MYw 0JW2Jgg6yb/QO0rR0a2UBQkYfI/GG6jJ7K6hozOGt4mFyL16BzxANgOs2s0Aj6zPorgz JgvVKlNo0WOvCS/R6ykoqDjYzgtFlP1ZvBxgxtAnMEltTEI5ZUVk2f9+rM7fS4hypFVI qHjtiKR/MrGtNyEjg+XGv7Ul9tUCzq+imUXottiKzXvOIsj7PkTwE8WtBJuWXOivojSg +WZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l30-20020a63701e000000b00553c2f85085si2347606pgc.220.2023.06.19.06.30.47; Mon, 19 Jun 2023 06:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231942AbjFSNYf (ORCPT + 99 others); Mon, 19 Jun 2023 09:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231908AbjFSNYa (ORCPT ); Mon, 19 Jun 2023 09:24:30 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A4EAA; Mon, 19 Jun 2023 06:24:28 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Ql9Sy6RZtzTlY6; Mon, 19 Jun 2023 21:23:46 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 19 Jun 2023 21:24:25 +0800 From: Gaosheng Cui To: , , , CC: , Subject: [PATCH -next] verify_pefile: fix kernel-doc warnings in verify_pefile Date: Mon, 19 Jun 2023 21:24:24 +0800 Message-ID: <20230619132424.80587-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-crypto@vger.kernel.org Fix kernel-doc warnings in verify_pefile: crypto/asymmetric_keys/verify_pefile.c:423: warning: Excess function parameter 'trust_keys' description in 'verify_pefile_signature' crypto/asymmetric_keys/verify_pefile.c:423: warning: Function parameter or member 'trusted_keys' not described in 'verify_pefile_signature' Signed-off-by: Gaosheng Cui --- crypto/asymmetric_keys/verify_pefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/asymmetric_keys/verify_pefile.c b/crypto/asymmetric_keys/verify_pefile.c index 22beaf2213a2..f440767bd727 100644 --- a/crypto/asymmetric_keys/verify_pefile.c +++ b/crypto/asymmetric_keys/verify_pefile.c @@ -391,7 +391,7 @@ static int pefile_digest_pe(const void *pebuf, unsigned int pelen, * verify_pefile_signature - Verify the signature on a PE binary image * @pebuf: Buffer containing the PE binary image * @pelen: Length of the binary image - * @trust_keys: Signing certificate(s) to use as starting points + * @trusted_keys: Signing certificate(s) to use as starting points * @usage: The use to which the key is being put. * * Validate that the certificate chain inside the PKCS#7 message inside the PE -- 2.25.1