Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp943335pxp; Wed, 16 Mar 2022 22:08:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/e3aza0fP2vNgfnRHWH5vr+kuAmWhyzHkZ5gnldx9kA5gwt4AV2ihty5tor/oDtDzFcZ1 X-Received: by 2002:a63:4005:0:b0:373:9ac7:fec1 with SMTP id n5-20020a634005000000b003739ac7fec1mr2315298pga.12.1647493695368; Wed, 16 Mar 2022 22:08:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647493695; cv=none; d=google.com; s=arc-20160816; b=MgUlzGhSIHOwDhOj/SEFN8yqYAzPHfdNSIgVsFtzbkNnU9eTKXdgOuaHkMMtS5JwQy wa/yHpiqhkIcsT8LH5l2A4BoQkEMO7baCb/D51PAXxqNkeDMDFUfIrdExQimSkaRyFkz tQTWiJJmpTRr5WJokOJgq/f/mnV6/SbAIxLzNawVVYgOpbttJRdW9vHQcb3WFzAjnikf FQQ89rAIxZXEACRi1Qd8xy9CFeWiBtWUTBIRGDKIXpwE1EbTH/4T4DKzzOUwsQOXQtyk FIFUqay+rkXscBVA0Yb9lKXOHbKbSVZJsL5YOWL5UcIRpn2O/7q1LVJ/vYK8C13jwg7r cNIg== 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=c9C876XGf5/Fgs25nLQrDHLgMd8uhKncurtYOq4+YTI=; b=OukzFYt6IT0ZvvY9/Sa2FLIk3aD3wrtnv893NhCklh/ZmyEJNf1d5vPovRPx8qCRNt G8Dc/WZlzJIUyc6w2f4dN8hpR0/+R5JI4TNCA2cNIblEqmIik2AsM7mfum3H4KOHNNU5 fidJHeA1m+0kvL3YYexSjuyWoR5zPS+GXwpRpjS/klKcCXhcvHxYLR7t3cCIR6KQIbXP hV1ISyVO99Oykrx32tShQrJNQGVE3erQ+ohd1efLfeO2x4igSzl+5HLBAB89hsEbwURO XkooB7tjcteehNIuMf7M0Ip/IJ/Ie6P4LaqYVRDbCpUklvyNdJ6MtAtROyfRhHJ4WI7U lj/w== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k70-20020a636f49000000b003816043f161si1041760pgc.854.2022.03.16.22.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:08:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B3EB1BE106; Wed, 16 Mar 2022 21:19:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349281AbiCQCOL (ORCPT + 99 others); Wed, 16 Mar 2022 22:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbiCQCOK (ORCPT ); Wed, 16 Mar 2022 22:14:10 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CB68A188; Wed, 16 Mar 2022 19:12:54 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V7OwIyg_1647483171; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V7OwIyg_1647483171) by smtp.aliyun-inc.com(127.0.0.1); Thu, 17 Mar 2022 10:12:52 +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: Thu, 17 Mar 2022 10:12:49 +0800 Message-Id: <20220317021249.31655-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=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 --- certs/system_keyring.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/certs/system_keyring.c b/certs/system_keyring.c index 05b66ce9d1c9..f0eb8c680cac 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. @@ -77,8 +77,9 @@ int restrict_link_by_builtin_and_secondary_trusted( } /** - * Allocate a struct key_restriction for the "builtin and secondary trust" - * keyring. Only for use in system_trusted_keyring_init(). + * get_builtin_and_secondary_restriction - Allocate a struct key_restriction + * for the "builtin and secondary trust" keyring. Only for use in + * system_trusted_keyring_init(). */ static __init struct key_restriction *get_builtin_and_secondary_restriction(void) { -- 2.20.1.7.g153144c