Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp351559pxb; Tue, 1 Feb 2022 00:59:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKExWPPjVT74aAw1blcxRx/UKrPOYL8oG+Mno15jbHQI00yWc0mM9+IllAbkY7nr/hKeOO X-Received: by 2002:a05:6402:51d1:: with SMTP id r17mr23796886edd.22.1643705986199; Tue, 01 Feb 2022 00:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643705986; cv=none; d=google.com; s=arc-20160816; b=0MQd5PbzebPnJuyoPUwxr2uHglOS+vyCaRA2ySQSFKzgnxHaK/s8Cm6W8TuvOR2yBQ p8ubQk726vLsYmt1AVE9mSAMy6CeMoXrIAbu3CeQ0bgurGqX1EHpF/9JLn2HYU4hzkl0 Qpx0uINSybyfr/58TJ4zQ8mJkv0eMUqmjlLlqjwI2tw31aQVO0rlHlkbvbjLAoR9Nn5R CZlQW1HChEoP7d/3xIgvm2sVGYyYHiXSK7vHCLpj+IEib9iEw6TrFUd/Yxo1H5Qx5LUB IaTcPbcNq4zFZ4Jo6e+GvMWJTEfwKT3gKCD7hHA3cqosBWlGE4J49i8a79JgviGdNIZL 41kw== 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=e5WzvEWToWOPqX3/OmG5C06GGabZdWAfxa8w+ai7Ytc=; b=jPZn42smLno8LxELG8+y1/t1lMLQ6sF/3EYmtSORVBelHuBqthlxi5xPn4zGu5vjEZ QC3H95gbZ5Z5f7RGEAyesuSHR74Wk25FzDrWwBQR7FjIN1QnxrGvoPdfoaGvZYjmUJor vkpNm2OsGkuk8bkaRuHrZdJJ6Rv0ImFmAA7xvzeHr8hkLkWJsccHCsLF8Q7MOCJKNob2 28MVsIZedFihHU2s5PwtWXr0tVgyTXDbcd63hO3BN/f6kFlCKDInzljyWyPNXqaNrL6U 37eoN+MAe5EPt8Ub4CFOaSGBH3Mt6RzW5giL3neqGjr9kqio7t40RSsIP3GhYwxLYZP2 ccXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=XoJcNGaA; 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 sc11si8046497ejc.113.2022.02.01.00.59.21; Tue, 01 Feb 2022 00:59:46 -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=XoJcNGaA; 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 S1353499AbiA3AA3 (ORCPT + 99 others); Sat, 29 Jan 2022 19:00:29 -0500 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:49486 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353485AbiA3AA2 (ORCPT ); Sat, 29 Jan 2022 19:00:28 -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) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 9B74F3F07C; Sun, 30 Jan 2022 00:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643500825; bh=e5WzvEWToWOPqX3/OmG5C06GGabZdWAfxa8w+ai7Ytc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XoJcNGaA0c0tO87At0EEruVQbMb2Ipdz26unr3G4L3hNB2qGE/QyNaOGgb5lCZDSd nOjsKMxuOH1kboB2Re9PtyeXTy30sypnc05v0C+rsj/eECm8SfwCBNZi6ICPmFc+FK OyD7ergoXTlmdfSd/gZsER8GwUXKkozcR0AOaGpe6xMVfDYCTN17BRnJZuh2vW3x+Z aQ+Hx156Z2U73ABBTX9yIABp6X4ioK+scavhFx1d6pkYewPXyhj96N8eACYKGjokK9 KHDxoySAamGqlj539lUUYAl+PPLYWDQoQnMyzCUC59f/cDIb/E+gcswOcWmtYD3nq9 H5RLzJgyPseTg== Message-ID: Date: Sat, 29 Jan 2022 16:00:23 -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 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: <20220129025101.38355-1-yang.lee@linux.alibaba.com> <20220129025101.38355-3-yang.lee@linux.alibaba.com> From: John Johansen Organization: Canonical In-Reply-To: <20220129025101.38355-3-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:51, 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 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 > */