Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31592075rwd; Fri, 7 Jul 2023 01:21:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlH6bZQ8peJ5sbPZYuvAJO5p1l9bPp4ATFnmgNL8e99sq0VSQTkKVKkt/+t3B6nXXJc1giut X-Received: by 2002:a05:620a:4256:b0:765:9391:1424 with SMTP id w22-20020a05620a425600b0076593911424mr4294973qko.78.1688718116207; Fri, 07 Jul 2023 01:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688718116; cv=none; d=google.com; s=arc-20160816; b=ftf5JE6aP6zrJfPGu46WkvRRCIqGtrwIJ/HxaQ1EZU9wd2wI6nn9TioPEJyS9ZFFq0 tfvaYmEqKWBl9Dn+m+wP20Jyj6E+iY1tO8O/jrDdW3eyLmGy0pIKYYVuAn1zgNh4gcyp wI/8hAc4Q08MNERKlIDmwoSCkVP0gEupEpKAtxk/quiiOUjPA5AwSDJ1aDgL0rvw8FnU 9OmjncGn6/tOFRjtHawlnH8qwExSlxLcBuR8F+pINKBIrE/03eAtGV/fDYP4kB0AHpyx deGzgKXxz1HRJ2C22dC8Iy2vniZ3+LpoB/RQ1YHGt5ou2lPP+3eM6pTGd9dMaTBVsKxI xbWQ== 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=p7RRWY989j302QXoredSpeCEDCjMvTA4ClT/byR7NxY=; fh=bS5a3K1sKfFnI/gVPC4wEVpOCMgg+Ne1nG2QL2h3ydI=; b=AJJHTpAmLd3wFFB9fMKP0Lq2dc4+e/QVwm5rvVZUep2y+NE+P7JQmulU8DW/gi0B+f WRRLEsQL4RQQ7YS+uOAUtpQ7IBbkN35+uBVRrFwCsFCIE0CfTivVl6RiSRh2ncK6jZQm vAw/h3o1ovlQSmUPYioiiLOpB4AeB36EFa0b+i7kaJe2m9q/RNG9MZ/rBoHfPmQZ+f5+ bloutA5KlzPBqSPXtVFyd8a3rS4BAfqQ/5PI9a7LBzTQIO0r0y8i0m5mNqe8v49juJCw KA5eQV4WDXsl/Vd8cjnWxS1pgy8sjATzD7M0DowDhRvf1m0Wf5Y0sLs6d09g3ZVM5voK /fRw== 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 j63-20020a638042000000b005578e44dfb6si3386964pgd.864.2023.07.07.01.21.44; Fri, 07 Jul 2023 01:21:56 -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 S232285AbjGGIHp (ORCPT + 99 others); Fri, 7 Jul 2023 04:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231962AbjGGIHo (ORCPT ); Fri, 7 Jul 2023 04:07:44 -0400 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D447D19BD; Fri, 7 Jul 2023 01:07:42 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0Vmnlo8x_1688717258; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vmnlo8x_1688717258) by smtp.aliyun-inc.com; Fri, 07 Jul 2023 16:07:39 +0800 From: Yang Li To: john.johansen@canonical.com Cc: paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] apparmor: Fix some kernel-doc comments Date: Fri, 7 Jul 2023 16:07:37 +0800 Message-Id: <20230707080737.49899-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,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 Use colons to separate parameter names from their specific meanings. silencethe warnings: security/apparmor/resource.c:111: warning: Function parameter or member 'label' not described in 'aa_task_setrlimit' security/apparmor/resource.c:111: warning: Function parameter or member 'task' not described in 'aa_task_setrlimit' security/apparmor/resource.c:111: warning: Function parameter or member 'resource' not described in 'aa_task_setrlimit' security/apparmor/resource.c:111: warning: Function parameter or member 'new_rlim' not described in 'aa_task_setrlimit' Signed-off-by: Yang Li --- security/apparmor/resource.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c index e85948164896..2bebc5d9e741 100644 --- a/security/apparmor/resource.c +++ b/security/apparmor/resource.c @@ -97,10 +97,10 @@ static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, /** * aa_task_setrlimit - test permission to set an rlimit - * @label - label confining the task (NOT NULL) - * @task - task the resource is being set on - * @resource - the resource being set - * @new_rlim - the new resource limit (NOT NULL) + * @label: label confining the task (NOT NULL) + * @task: task the resource is being set on + * @resource: the resource being set + * @new_rlim: the new resource limit (NOT NULL) * * Control raising the processes hard limit. * -- 2.20.1.7.g153144c