Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2295522pxp; Mon, 21 Mar 2022 16:09:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzV+vlj9nogVJmnKeD9lm3a06VzAzNWvK8kvoPsqQhRnvhxsWFsbAIewD8L5iW0m7OxLNsl X-Received: by 2002:a17:902:e9d4:b0:153:bd06:859c with SMTP id 20-20020a170902e9d400b00153bd06859cmr15205342plk.8.1647904177503; Mon, 21 Mar 2022 16:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647904177; cv=none; d=google.com; s=arc-20160816; b=oIN6zST/sR+YXkOcrfSX+sJ1v5YugrQ4se22bD+4woFxlSHF6uHMaBe4Oo4ll7NAH3 HYLUxvd2EsU3uV3LWRN6SZZu84uTI33r/7ReCGt3Vjyw4lkYWdHdG3KaF/yhFHViWVvz 6dB3m8AJ0PoLRTFDMBLJY+7om9WLiNSyAn1Osc7JTH5V92eE2NAbcFiTcJNSNMeO+VYm Z3YVEcONU7cwSxq7uSgfftbSGAIACB0kWCfJIM3j5T7J446mBsgtTm1j2dM0h2D+ngh3 QbdEO7iTc72sMockIt0AkBpO+Jrju+5s0DdWIaXQ4UPeyUyRpB0sUPsILPxRF9Iro4oW ECmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=uamzDTJ4eJ/ciPYegLGLh1LwOQ1s4XFLg66bcANk+sw=; b=VlIfQcyrxCJLnZe+hIK0Z6wc9q4iRzC4lmOAiAHZx1SuLdzWVVDB/uFzLNagjFv7KZ MecKGTlCxWy0XSp1n1NHobme6/M4tLyVsPuK8SKJF8I3fQB/oPgUZuwuJ0wacpsobQzr 7aZRZLocrjta0X3YtK0v0F4/kcG3OYx/GFCzmCLX4b9mCo+BZCwYfxWQfvge0cC3sHPj 91e5Z/MVMzn1waC7HmgPWkJDX5k4y3HTUnHaY6+mFcJ165QERkNTq5aNNIGF0sm7hKcN 3SOyWnJn0NkrTUro+aBEigwACwOp1TFl/QBX9dbhjpbqgq0p9EshYUH16KbKfWrKv8xv YGZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PhIGq27t; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n1-20020a639701000000b003816043ef12si15082130pge.263.2022.03.21.16.09.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:09:37 -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; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PhIGq27t; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38B4A347342; Mon, 21 Mar 2022 15:07:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353252AbiCUUVk (ORCPT + 99 others); Mon, 21 Mar 2022 16:21:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352774AbiCUUVi (ORCPT ); Mon, 21 Mar 2022 16:21:38 -0400 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DC185A090; Mon, 21 Mar 2022 13:20:12 -0700 (PDT) Received: from [192.168.192.153] (unknown [50.126.114.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 9DC7C3F675; Mon, 21 Mar 2022 20:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647894009; bh=uamzDTJ4eJ/ciPYegLGLh1LwOQ1s4XFLg66bcANk+sw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PhIGq27tIR6YGTpy+wnDQh8CRjPzA5RjWXdayxXMhy9VMK/vpwY2lrozuck/Q0BGn 2yNfzkrnwblJGs4nRobrc6x/F1mcqSShK2KsSINwDHalwonqRl1KBYfR/79XCmtIUZ 9TaqHNCZy9x0rba3HHAdQtIv/xnIs3/jmTaTaePPl3/8fhxYte7Of7yWFujkaPGFSY owDvM8DqO9XrRHYH7zI+Ji44jGokH9O8pFnPIsw+8Vb4WkzEhyCapetCAnoJlRKANZ kPdxmH8wylIKPTu0S2a5dPc6fNFg+xVQjcL9f9ipykTZbnSca5Tbm3u2UHPnUKJoXy SK0i5xVgkTLog== Message-ID: Date: Mon, 21 Mar 2022 13:20:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH -next] apparmor: Fix some kernel-doc comments Content-Language: en-US To: Yang Li Cc: jmorris@namei.org, serge@hallyn.com, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20220317010330.82929-1-yang.lee@linux.alibaba.com> From: John Johansen Organization: Canonical In-Reply-To: <20220317010330.82929-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 3/16/22 18:03, Yang Li wrote: > Remove some warnings found by running scripts/kernel-doc, > which is caused by using 'make W=1'. > > security/apparmor/domain.c:137: warning: Function parameter or member > 'state' not described in 'label_compound_match' > security/apparmor/domain.c:137: warning: Excess function parameter > 'start' description in 'label_compound_match' > security/apparmor/domain.c:1294: warning: Excess function parameter > 'onexec' description in 'aa_change_profile' > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: John Johansen I have pulled this into my tree > --- > security/apparmor/domain.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c > index a29e69d2c300..d71023f5c9c4 100644 > --- a/security/apparmor/domain.c > +++ b/security/apparmor/domain.c > @@ -119,7 +119,7 @@ static inline unsigned int match_component(struct aa_profile *profile, > * @profile: profile to find perms for > * @label: label to check access permissions for > * @stack: whether this is a stacking request > - * @start: state to start match in > + * @state: state to start match in > * @subns: whether to do permission checks on components in a subns > * @request: permissions to request > * @perms: perms struct to set > @@ -1279,7 +1279,6 @@ static int change_profile_perms_wrapper(const char *op, const char *name, > /** > * aa_change_profile - perform a one-way profile transition > * @fqname: name of profile may include namespace (NOT NULL) > - * @onexec: whether this transition is to take place immediately or at exec > * @flags: flags affecting change behavior > * > * Change to new profile @name. Unlike with hats, there is no way