Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1569476rdb; Sun, 19 Nov 2023 01:10:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGraiB23DVocZsB/skh/waJZLnfK5MtYKxV9MrghGagr13Us4nKo+xlKE1TSXBFP1SvhMZY X-Received: by 2002:a17:902:e543:b0:1cf:54c7:adc5 with SMTP id n3-20020a170902e54300b001cf54c7adc5mr4050359plf.4.1700385019863; Sun, 19 Nov 2023 01:10:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700385019; cv=none; d=google.com; s=arc-20160816; b=FfqRp8ioq8/LUXvZH8ZPOeIG7G7Sa1CFaw8jgniEaUsF255DBwajGq1QSMC4FUuTze qX7NqQ4yQnfY/z0vyS5hYtSIV01AA5AY9Bd5ROPYaRWZTNoBMelZQGyCo7do7lw+0RnX Ehm0N1P8CqprvfrLOML2hEBg2YslBx8GDb7qdpMhFykmm3Pb9Ob4fLZvcAx2l0sw8fxl AxTnEL6m84QIm1YbchO+zfZPQq4b8nEj654nzJnLT1LHlS7WsFP0AZs9IEfeSZg5W4lN twHIshJ52u2q+CCnjEXr3mlYdjZOxH7hZNnpg9W5pyxZgzJ+lF4lwAHAlEYZS323tanL gLFw== 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:autocrypt:from:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=7opMRMxtWvjQg97bxtdoSLbOAcfusXdosgZYHGOLD/E=; fh=IZgQvmY6bSAkhtiKFU6tde8gXn69Ho/gckdtZ4/QtuQ=; b=WvRTW4bhlwHgpxrgaVzh9wNjWyeYgr+suIFDjms7wWqYWBTN7OKyuN7mmSfzmQlNRK sy4F3Gi5omoo7sYXqcpUXm+qRd0YiUvAC+NPLoKEPqiEJfdga4oN/2RwHtlshjPDxcaA iy+Ivw1ftb4esbXHt2I2lneQybJTAMjFGdAi/DNRakHttjqNVfPz1GvMF2KmutUe2fhK iWux0oYyPVjeC697WlwtICDSWAOW8shVUSoMoK5v89JZJlezM2t4+vtz9qFf436RhYtF vzJZa77F1bvuy5c1Pq8LwMdu7a9tCvdZWZL6CNiJx/uJYJVJaxRvvSEbizQZ+iIU7cs/ 5Kxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=DHFVtgc1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u1-20020a17090341c100b001cf5d073fa7si244219ple.119.2023.11.19.01.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 01:10:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=DHFVtgc1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 48142808EE5D; Sun, 19 Nov 2023 01:10:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230380AbjKSJJf (ORCPT + 99 others); Sun, 19 Nov 2023 04:09:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbjKSJJe (ORCPT ); Sun, 19 Nov 2023 04:09:34 -0500 Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7605C138; Sun, 19 Nov 2023 01:09:30 -0800 (PST) Received: from [192.168.192.84] (unknown [50.39.103.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 0ED3B42F25; Sun, 19 Nov 2023 09:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1700384969; bh=7opMRMxtWvjQg97bxtdoSLbOAcfusXdosgZYHGOLD/E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DHFVtgc1ujVOBB/+f4dB6mSxuZBTpsVyGCq/cRSZgHDMpqsz1bzZDJDDfY289Dd70 VUqbijqHCJnKy85dwTv+zaepWMCtxUNj+w1HU+/GsYre9DdLIhHtAy2ub/XQSkgkRW Im3e3ZaOiY0nE89DTQOV0iJBlJE4R/CiEgGFbIaEsfqpv2mwWyGtenBBjnpc0bWv3L Xl+xLiocUTUfL9xosAfI+ao8c2u9RQfW1LPcnRC/+3/RNQZD5zyrYP3up8NYzWOsIL YnMXC2Ac+CUMjcboRn7xN6IiVum+mIVkm5iNvySLCgBTAtTRyrU0R0ujnkTWXFbkoN B/MSBF7N/VZgA== Message-ID: Date: Sun, 19 Nov 2023 01:09:26 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next 2/2] apparmor: Fix some kernel-doc comments Content-Language: en-US To: Yang Li , paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20231023011124.19034-1-yang.lee@linux.alibaba.com> <20231023011124.19034-2-yang.lee@linux.alibaba.com> From: John Johansen Autocrypt: addr=john.johansen@canonical.com; keydata= xsFNBE5mrPoBEADAk19PsgVgBKkImmR2isPQ6o7KJhTTKjJdwVbkWSnNn+o6Up5knKP1f49E BQlceWg1yp/NwbR8ad+eSEO/uma/K+PqWvBptKC9SWD97FG4uB4/caomLEU97sLQMtnvGWdx rxVRGM4anzWYMgzz5TZmIiVTZ43Ou5VpaS1Vz1ZSxP3h/xKNZr/TcW5WQai8u3PWVnbkjhSZ PHv1BghN69qxEPomrJBm1gmtx3ZiVmFXluwTmTgJOkpFol7nbJ0ilnYHrA7SX3CtR1upeUpM a/WIanVO96WdTjHHIa43fbhmQube4txS3FcQLOJVqQsx6lE9B7qAppm9hQ10qPWwdfPy/+0W 6AWtNu5ASiGVCInWzl2HBqYd/Zll93zUq+NIoCn8sDAM9iH+wtaGDcJywIGIn+edKNtK72AM gChTg/j1ZoWH6ZeWPjuUfubVzZto1FMoGJ/SF4MmdQG1iQNtf4sFZbEgXuy9cGi2bomF0zvy BJSANpxlKNBDYKzN6Kz09HUAkjlFMNgomL/cjqgABtAx59L+dVIZfaF281pIcUZzwvh5+JoG eOW5uBSMbE7L38nszooykIJ5XrAchkJxNfz7k+FnQeKEkNzEd2LWc3QF4BQZYRT6PHHga3Rg ykW5+1wTMqJILdmtaPbXrF3FvnV0LRPcv4xKx7B3fGm7ygdoowARAQABzStKb2huIEpvaGFu c2VuIDxqb2huLmpvaGFuc2VuQGNhbm9uaWNhbC5jb20+wsF3BBMBCgAhBQJOjRdaAhsDBQsJ CAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEAUvNnAY1cPYi0wP/2PJtzzt0zi4AeTrI0w3Rj8E Waa1NZWw4GGo6ehviLfwGsM7YLWFAI8JB7gsuzX/im16i9C3wHYXKs9WPCDuNlMc0rvivqUI JXHHfK7U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mRQZ3YyubWqcrBeIC3xIhwQ12rfdHQoopELzReDCPwmffS9ctIb407UYfRQxwDEzDL+m+ TotTkkaNlHvcnlQtWEfgwtsOCAPeY9qIbz5+i1OslQ+qqGD2HJQQ+lgbuyq3vhefv34IRlyM sfPKXq8AUTZbSTGUu1C1RlQc7fpp8W/yoak7dmo++MFS5q1cXq29RALB/cfpcwARAQABwsFf BBgBCgAJBQJOZqz6AhsMAAoJEAUvNnAY1cPYP9cP/R10z/hqLVv5OXWPOcpqNfeQb4x4Rh4j h/jS9yjes4uudEYU5xvLJ9UXr0wp6mJ7g7CgjWNxNTQAN5ydtacM0emvRJzPEEyujduesuGy a+O6dNgi+ywFm0HhpUmO4sgs9SWeEWprt9tWrRlCNuJX+u3aMEQ12b2lslnoaOelghwBs8IJ r998vj9JBFJgdeiEaKJLjLmMFOYrmW197As7DTZ+R7Ef4gkWusYFcNKDqfZKDGef740Xfh9d yb2mJrDeYqwgKb7SF02Hhp8ZnohZXw8ba16ihUOnh1iKH77Ff9dLzMEJzU73DifOU/aArOWp JZuGJamJ9EkEVrha0B4lN1dh3fuP8EjhFZaGfLDtoA80aPffK0Yc1R/pGjb+O2Pi0XXL9AVe qMkb/AaOl21F9u1SOosciy98800mr/3nynvid0AKJ2VZIfOP46nboqlsWebA07SmyJSyeG8c XA87+8BuXdGxHn7RGj6G+zZwSZC6/2v9sOUJ+nOna3dwr6uHFSqKw7HwNl/PUGeRqgJEVu++ +T7sv9+iY+e0Y+SolyJgTxMYeRnDWE6S77g6gzYYHmcQOWP7ZMX+MtD4SKlf0+Q8li/F9GUL p0rw8op9f0p1+YAhyAd+dXWNKf7zIfZ2ME+0qKpbQnr1oizLHuJX/Telo8KMmHter28DPJ03 lT9Q Organization: Canonical In-Reply-To: <20231023011124.19034-2-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 19 Nov 2023 01:10:17 -0800 (PST) On 10/22/23 18:11, Yang Li wrote: > Fix some kernel-doc comments to silence the warnings: > security/apparmor/policy.c:117: warning: Function parameter or member 'kref' not described in 'aa_pdb_free_kref' > security/apparmor/policy.c:117: warning: Excess function parameter 'kr' description in 'aa_pdb_free_kref' > security/apparmor/policy.c:882: warning: Function parameter or member 'subj_cred' not described in 'aa_may_manage_policy' > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7037 > Signed-off-by: Yang Li sorry I missed replying to this. It was pulled into apparmor-next and merged upstream during the 6.7 merge window > --- > security/apparmor/policy.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c > index a441d96adcbf..ed4c9803c8fa 100644 > --- a/security/apparmor/policy.c > +++ b/security/apparmor/policy.c > @@ -111,7 +111,7 @@ static void aa_free_pdb(struct aa_policydb *policy) > > /** > * aa_pdb_free_kref - free aa_policydb by kref (called by aa_put_pdb) > - * @kr: kref callback for freeing of a dfa (NOT NULL) > + * @kref: kref callback for freeing of a dfa (NOT NULL) > */ > void aa_pdb_free_kref(struct kref *kref) > { > @@ -870,7 +870,7 @@ bool aa_current_policy_admin_capable(struct aa_ns *ns) > > /** > * aa_may_manage_policy - can the current task manage policy > - * @subj_cred; subjects cred > + * @subj_cred: subjects cred > * @label: label to check if it can manage policy > * @ns: namespace being managed by @label (may be NULL if @label's ns) > * @mask: contains the policy manipulation operation being done