Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp46712pxb; Mon, 31 Jan 2022 14:51:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCwlCuyh9SFxkF5KB/18tbmIpXfxN1p9b2O1jZztdC9cbxX5PO5NI/mRcxcLe7SnL8RaJe X-Received: by 2002:a63:6a46:: with SMTP id f67mr18364792pgc.541.1643669487449; Mon, 31 Jan 2022 14:51:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643669487; cv=none; d=google.com; s=arc-20160816; b=uiDqctsG8DzKEtYLf24ULX/cIcwtQRExCEePimBclipodkcyjCQPf5MuLhbi0VjBrU lPc0Ht2kOFfFm8MT9hQkOVpIEsjwghf7UZeHqFSZ7RprMA6cIQy7mrZOatyu683QvE5K aTofdfadye6vhtFaq4rlq6ksLU7hMe+MUMUZBnXGFeVZJ51b5/smcnIXl78/OTiu2weH 68nOlw307AinBlqtLAQFZ7qBY+X9ci0EXkTDEZJUrt6VFXvv2JpT9jOYxCxxyzEE5VF9 /3h/n1WV7p+n6o09+7U2ahtMgkgPHzOEsGpx4Bs9GtouuYHu864NVGvCQe4rhwgiWhZi WHDg== 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=rntXzzpuvezovtx3cJou0kDSj+gDm+cNgHDw9N5ydqM=; b=tkGcazbMbTidaP+XyX8BkLvznFOyWnRJ0KGtVhH2Mju8lspTFuEZmZnuRT7DZjZzo1 nAZ3HHQLhC41RfGHjdQc33n5MPWI7AambdNikmIPTZCn2d7X9wlFBjMWvzqKHAH+8ftu BzBV6ZpU8zTazuKlKBEXjKIza1x5wdvPappExNHLg8QEqs24IBjjJol51ayQccyrc6Fy 7HNSNh8S0UlIGt+nFj/359PI/jD8Gl82HPifyOEoGLTzn0aK7s8xmKVhTdUlI7uNJzBs eM8H3htMooOZ4BAerlP8H7SaNUKQPKrwNPX5XoiG1Tz0fy0n4Sfffq3z1U7JveRCD0H6 uwbw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si14084147plz.170.2022.01.31.14.51.15; Mon, 31 Jan 2022 14:51:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352251AbiA2Cwf (ORCPT + 99 others); Fri, 28 Jan 2022 21:52:35 -0500 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:50665 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352232AbiA2Cwe (ORCPT ); Fri, 28 Jan 2022 21:52:34 -0500 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=e01e04423;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0V34UhTY_1643424751; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V34UhTY_1643424751) by smtp.aliyun-inc.com(127.0.0.1); Sat, 29 Jan 2022 10:52:32 +0800 From: Yang Li To: serge@hallyn.com Cc: jmorris@namei.org, john.johansen@canonical.com, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next 3/3] apparmor: Fix some kernel-doc comments Date: Sat, 29 Jan 2022 10:52:29 +0800 Message-Id: <20220129025229.39663-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 */ -- 2.20.1.7.g153144c