Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3015593pxb; Mon, 4 Apr 2022 05:52:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTtct8JNZvuVY1XlqNbpMV0FShqeB7WJB3EdxMz1R0VuEZ6mFI27bVcpY5n6LypItiXu4D X-Received: by 2002:a50:d493:0:b0:41c:d841:7d2e with SMTP id s19-20020a50d493000000b0041cd8417d2emr2970949edi.75.1649076747143; Mon, 04 Apr 2022 05:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649076747; cv=none; d=google.com; s=arc-20160816; b=AA4ZRxbwtRgmmutqhvVOjjoVSWHB+behy4jXMBFzLDPWTqFiqfKv9S60NkHdqm1bv0 7b7bDiKtBhpZvl+vX/h6HP1T/9f77UrTi63GeVQSlWKFAu/ARu4/sOztrIYh5TtpDDb6 i7xmh44NxGKGdejcymJGn1BDwIT22wrWp8ZKSyN3zRQhBhH01Xe30UZBWp7K1cWx2/hH KPNSXqGITKQPP1aHDxUu/Fuz5wSiXHzEzmvYK46OdrmkwNjKCCHEOR2aw3j9SqTwaUUu byCxmEw/8rY9N/kzIfhagCUN8Zz1TR6xUyO3aVh1jLkuLwiWUi11ReTjZHWNtU+HvYWm PkFQ== 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=MHC8iEIUWLqIJANSzGX/FhQHoIIlvohQ4Swh1BAlrkQ=; b=wMvFjUKQ0mWN3cw1JKdQ5huCsO/XoZSimVEmE3bDfby/6Yj6es9UY2AO3wqs4MoVEU +orZaxKl9IIhiKPo1qFY2OahCdk4vJjV920F1Dgbx8xVi51fYD+UyMIHXKfBvIg3BXwD 0/HgmjY20GVmjRllH0XSZ45kcLPkyCTcMtZXZnkec6Asz0oNsGcb0fh6TjKRSSspqdsi II9vOvwwRncW+w1TQW0dtYBNi8Fp9bJAPfNls460pr+slf1BrlDxzXgU6lV4FO1yIgUE 3Bx+ViYorggHhw1RJeriHdkPcXt19m0SeySQ3ZpDf6qk4IrYsuhh3H2opFsjiofasmyg uRjw== 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 p20-20020a170906785400b006df76385e88si6396474ejm.808.2022.04.04.05.52.01; Mon, 04 Apr 2022 05:52:27 -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 S244400AbiDBHdu (ORCPT + 99 others); Sat, 2 Apr 2022 03:33:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243030AbiDBHds (ORCPT ); Sat, 2 Apr 2022 03:33:48 -0400 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34814174E95; Sat, 2 Apr 2022 00:31:55 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V8ygWDd_1648884713; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V8ygWDd_1648884713) by smtp.aliyun-inc.com(127.0.0.1); Sat, 02 Apr 2022 15:31:53 +0800 From: Yang Li To: dhowells@redhat.com Cc: dwmw2@infradead.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] certs: Fix some kernel-doc comments Date: Sat, 2 Apr 2022 15:31:51 +0800 Message-Id: <20220402073151.58423-1-yang.lee@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,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,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 Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. certs/system_keyring.c:46: warning: expecting prototype for restrict_link_to_builtin_trusted(). Prototype was for restrict_link_by_builtin_trusted() instead certs/system_keyring.c:80: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Reported-by: Abaci Robot Signed-off-by: Yang Li --- --Changes in v2: turn the "/**" into "/*". certs/system_keyring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certs/system_keyring.c b/certs/system_keyring.c index 05b66ce9d1c9..62d37dc0ca81 100644 --- a/certs/system_keyring.c +++ b/certs/system_keyring.c @@ -34,7 +34,7 @@ extern __initconst const unsigned long system_certificate_list_size; extern __initconst const unsigned long module_cert_size; /** - * restrict_link_to_builtin_trusted - Restrict keyring addition by built in CA + * restrict_link_by_builtin_trusted - Restrict keyring addition by built in CA * * Restrict the addition of keys into a keyring based on the key-to-be-added * being vouched for by a key in the built in system keyring. @@ -76,7 +76,7 @@ int restrict_link_by_builtin_and_secondary_trusted( secondary_trusted_keys); } -/** +/* * Allocate a struct key_restriction for the "builtin and secondary trust" * keyring. Only for use in system_trusted_keyring_init(). */ -- 2.20.1.7.g153144c