From patchwork Fri Sep 17 12:39:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12501947 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2971CC28CA8 for ; Fri, 17 Sep 2021 12:40:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BF1A361056 for ; Fri, 17 Sep 2021 12:40:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BF1A361056 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 5B9026B0075; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 569CC6B0078; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3462E6B007B; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0127.hostedemail.com [216.40.44.127]) by kanga.kvack.org (Postfix) with ESMTP id 2577C6B0075 for ; Fri, 17 Sep 2021 08:40:46 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id C16523A2DD for ; Fri, 17 Sep 2021 12:40:45 +0000 (UTC) X-FDA: 78597024450.34.396392B Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf21.hostedemail.com (Postfix) with ESMTP id 88453D0302C2 for ; Fri, 17 Sep 2021 12:40:45 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2920D610C9; Fri, 17 Sep 2021 12:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631882444; bh=p1JDp2ez5z7QUwMAm1hC63DlakzzZ7n0efTl54YKOKw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YPnYiFeKmwRwsnT2yW9ilSC+7hJB9SOOPjiVF/9vAMKwfwyFB/b8hvMFbKt2cVivz +qu4JHuGxNMGsNEsLgzMRua8dkWDPIpsykBM9JObywJmSF5KXEy+vdBMKO4c/hYWT8 UcjkX56Opd0NDfe0PswbxtFF89fIxx5BXJX0YwPApQg9JH4cVcIsJ0+APDaRkxqwQt zNxQTg5zEkbA54TNAVSzKE/mpBwZp6sV0zFGsDKEqMRT+m9jSVsyb+PKCtvGRYwU/c 1aMfq8aXd8B7DrRIBCF5wItRay56qBa6UIUK4XJxjTZoDSN8aa9YoVfedRuBqR/5VT EcPuvuFfO3h3A== From: SeongJae Park To: akpm@linux-foundation.org Cc: corbet@lwn.net, sj@kernel.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 4/5] include/linux/damon.h: Fix kernel-doc comments for 'damon_callback' Date: Fri, 17 Sep 2021 12:39:57 +0000 Message-Id: <20210917123958.3819-5-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210917123958.3819-1-sj@kernel.org> References: <20210917123958.3819-1-sj@kernel.org> X-Stat-Signature: wa378tajziab17nxzymxgyk1r5entgnb Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=YPnYiFeK; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf21.hostedemail.com: domain of sj@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=sj@kernel.org X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 88453D0302C2 X-HE-Tag: 1631882445-926224 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: SeongJae Park A few Kernel-doc comments in 'damon.h' are broken. This commit fixes those. Signed-off-by: SeongJae Park --- include/linux/damon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/damon.h b/include/linux/damon.h index d68b67b8d458..755d70804705 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -62,7 +62,7 @@ struct damon_target { struct damon_ctx; /** - * struct damon_primitive Monitoring primitives for given use cases. + * struct damon_primitive - Monitoring primitives for given use cases. * * @init: Initialize primitive-internal data structures. * @update: Update primitive-internal data structures. @@ -108,8 +108,8 @@ struct damon_primitive { void (*cleanup)(struct damon_ctx *context); }; -/* - * struct damon_callback Monitoring events notification callbacks. +/** + * struct damon_callback - Monitoring events notification callbacks. * * @before_start: Called before starting the monitoring. * @after_sampling: Called after each sampling.