Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp934354pxp; Wed, 16 Mar 2022 21:50:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg4Q8Ne8og5N1usp7bnIBKuYiKjVBfjg9BMp6TTSySsZDdQBMeQzJAKgraFPFQgS8gBj2I X-Received: by 2002:a65:674b:0:b0:381:6565:26fc with SMTP id c11-20020a65674b000000b00381656526fcmr2230966pgu.618.1647492627332; Wed, 16 Mar 2022 21:50:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647492627; cv=none; d=google.com; s=arc-20160816; b=KKVulaJXQF8v+4m9u+EzEcr651VyODPzbjAFfDuF9ZnnFOjYOX+g8RrgmfUprwhOpb cZyhz8I7cHWI1n+FVxC1Q0zqrralzR/AeT0lOQQRbUDXoto5SYl989u0CTxzrJNOUUpO yIwJ2USq+GUJEDbGSuT0r3wuiUXkoqUVawtYUWn0yx6P0yU3GNySfjfJoBsZkvgRRWL1 XxmPm6ZODFEzLtxIIGMdBDit0ovpn7wGHhVpDnCZTthoGWrDvX93gx4ZGHi5oksphwgW ofcxll4uO/7MkD67HZygK7LmNYD4HsCLKNEMm5jKbcQZfhf5DXTsWmfqF/pnuLPsTBQY Tuxg== 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=nIWxBLN5Ej5Bs+xC+aoXHZsxS2MnGJqX6wNRMI0uQLs=; b=RGx5MUtOXYsMyVDiwkiLqxPNJ6Dwe/rXoqpswylM87kWhk556/+IuUC6o0lYKo1psH M2u+HAU2ONHweHCrDPmhh8RjILlkEd3ab2mmS9LH38SThTk1fmP1R9WP26/VKKqP1QwH H2yP2JxOfeMgzSWLTxwknSjWvUFEoJn2vextNuU0h63+hmrVeEw+8pLpJafdZZpEgujO hIQxBR3FugLh0tNUAGKUAAFRnyyga2CgSUUxMiKFEr/d9tRg/RWZ6J6kH+7T/Fdy0CKT oBCJmwgcI1ju2fX3KLt1Kwo+SuwhnkPTgkKmVVp9ZiiUMbk2wOQsipO3xp9r1bXKlBL2 2psg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id d4-20020a170902654400b0015393aefc01si3572337pln.239.2022.03.16.21.50.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:50:27 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 9DD5A158D83; Wed, 16 Mar 2022 21:09:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344494AbiCQBEy (ORCPT + 99 others); Wed, 16 Mar 2022 21:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233097AbiCQBEv (ORCPT ); Wed, 16 Mar 2022 21:04:51 -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 CDA3D1BEBA; Wed, 16 Mar 2022 18:03:34 -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=e01e04394;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0V7OxGLH_1647479011; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V7OxGLH_1647479011) by smtp.aliyun-inc.com(127.0.0.1); Thu, 17 Mar 2022 09:03:32 +0800 From: Yang Li To: john.johansen@canonical.com Cc: jmorris@namei.org, serge@hallyn.com, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] apparmor: Fix some kernel-doc comments Date: Thu, 17 Mar 2022 09:03:30 +0800 Message-Id: <20220317010330.82929-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'. 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 --- 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 -- 2.20.1.7.g153144c