Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp352109pxb; Tue, 1 Feb 2022 01:00:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDoB6jZrQ7Xf6Vt4ml5FJNL4qL9TZO9B2I23ny/zpkamlXiP7rBeoHJOe7LeRHQgwvz/os X-Received: by 2002:a17:907:8a0a:: with SMTP id sc10mr20882983ejc.332.1643706040070; Tue, 01 Feb 2022 01:00:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643706040; cv=none; d=google.com; s=arc-20160816; b=ZhG1TI7JEaQey8NvmCV0J/qVygmsAhbH4cAhhoqHnPXJzvslSE0dRaYEF/hdYllHYh UKC8yeQ4jAwe3bBTXc6/N2V5NacwVLD9WR5z59sTHVbGWRYQeDFtlGxKn3bCzuOYR9xe VLLz/KlZIoexPKm0WG88RFNbAOFW2u4a5MCx3Bk2RrOl3G6DchfKu/O1vfvORhRqNsm8 3V6of0uc9I3cxud2vyvH+/P4+An1/fEX4kjTh2EzzVupcf4CVS6dWz0UFJt3PUqMqTwg 277G9g90naprWg2MXYseBAEvA26XNuWWU3jilSqv2WUZIAvTLbdquLB2D2R2xAI9bxlF pm4Q== 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=7k+y7PJ3gcJlzXgorU2zNnjUpve3rlNlya9TVwYp4hk=; b=omtJt7uZkpAgTdisPCoQa0G6x+PJoBVEH14rcuA04QdoGkoIQfhYldluKD9vUeotuR 1ub78QOXBVicbzY0GF+oLaQT9eL8WctkB0EWDdQ8c6gtXM6UPmKrfhcS1s3M6Q9gDyqU qPfxM1BXx3zGyW3CAXFquz8WU/NF5FC1YRWL+EkjbgbG9+WReSf53C4QALCk2QPHH51y ckjCcmRWS1ISQsX8p1RzP14RdoUMUxKkXO6l/5+oMkBYM1eFCt9icYGe1sL08Qe4WPy9 KAXWSO2zr494u4TaMTW4/voHBwpiGxEW6fAlKiQBxG4jGqHfVwpisRJn5q1g2Mm2Tg9i m9dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=jENINqRq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn11si8734194ejc.626.2022.02.01.01.00.15; Tue, 01 Feb 2022 01:00:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=jENINqRq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353506AbiA3ADI (ORCPT + 99 others); Sat, 29 Jan 2022 19:03:08 -0500 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:49772 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353476AbiA3ADH (ORCPT ); Sat, 29 Jan 2022 19:03:07 -0500 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-1.canonical.com (Postfix) with ESMTPSA id 4647D3F07C; Sun, 30 Jan 2022 00:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643500986; bh=7k+y7PJ3gcJlzXgorU2zNnjUpve3rlNlya9TVwYp4hk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jENINqRqw3pqbJmZcbRC9FDajyZ8MAcWWeoUZJOf8ZlWcSzM3o6dXNdkxgL53QmtH 1coGNJop/zo/HWBCHCN4IkbM6FKfz/YsdWp43KqLKDfVGH668cEREXFKO4WSABTrIn vYvuL3w5QlTrVm38J5bX/v6yXvverFoBmfFcIscq/lTwhIpJJUcfT1PmFMmkiJz+ge +BEipTyTjA2LrxJe23wa79vmXMHfCcqKi7BZlFay+/E5oJf6gZdw4gMCeNw6Iappzb iqRkDOintBf2DiavnqexfcmXbjY/iWYq6rhpiQ4LH5W00yGE8j3/rbG+N3JV5YP3/6 wknNkY6kYzWRQ== Message-ID: <9836f3d4-186f-7a6e-448d-8e94be5f634f@canonical.com> Date: Sat, 29 Jan 2022 16:03:03 -0800 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 3/3] apparmor: Fix some kernel-doc comments Content-Language: en-US To: Yang Li , serge@hallyn.com Cc: jmorris@namei.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20220129025229.39663-1-yang.lee@linux.alibaba.com> From: John Johansen Organization: Canonical In-Reply-To: <20220129025229.39663-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/28/22 18:52, Yang Li wrote: > Don't use /** for non-kernel-doc comments and change function name > aa_mangle_name to mangle_name in kernel-doc comment to Remove some > warnings found by running scripts/kernel-doc, which is caused by > using 'make W=1'. > > security/apparmor/apparmorfs.c:1503: warning: Cannot understand * > on line 1503 - I thought it was a doc line > security/apparmor/apparmorfs.c:1530: warning: Cannot understand * > on line 1530 - I thought it was a doc line > security/apparmor/apparmorfs.c:1892: warning: Cannot understand * > on line 1892 - I thought it was a doc line > security/apparmor/apparmorfs.c:108: warning: expecting prototype for > aa_mangle_name(). Prototype was for mangle_name() instead > > Reported-by: Abaci Robot > Signed-off-by: Yang Li just for completeness (this is a dup of [PATCH 3/3] apparmor: Fix some kernel-doc comments) Acked-by: John Johansen I have pulled this into my tree > --- > security/apparmor/apparmorfs.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c > index 15efe4076fc4..4d7df859542d 100644 > --- a/security/apparmor/apparmorfs.c > +++ b/security/apparmor/apparmorfs.c > @@ -98,7 +98,7 @@ static struct rawdata_f_data *rawdata_f_data_alloc(size_t size) > #endif > > /** > - * aa_mangle_name - mangle a profile name to std profile layout form > + * mangle_name - mangle a profile name to std profile layout form > * @name: profile name to mangle (NOT NULL) > * @target: buffer to store mangled name, same length as @name (MAYBE NULL) > * > @@ -1499,7 +1499,7 @@ int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata) > > /** fns to setup dynamic per profile/namespace files **/ > > -/** > +/* > * > * Requires: @profile->ns->lock held > */ > @@ -1526,7 +1526,7 @@ void __aafs_profile_rmdir(struct aa_profile *profile) > } > } > > -/** > +/* > * > * Requires: @old->ns->lock held > */ > @@ -1888,7 +1888,7 @@ static void __aa_fs_list_remove_rawdata(struct aa_ns *ns) > __aa_fs_remove_rawdata(ent); > } > > -/** > +/* > * > * Requires: @ns->lock held > */