From patchwork Fri Nov 5 20:46:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12605837 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 462B9C433EF for ; Fri, 5 Nov 2021 20:46:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F1CDB61288 for ; Fri, 5 Nov 2021 20:46:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F1CDB61288 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 2F56D9400D4; Fri, 5 Nov 2021 16:46:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A6409400C1; Fri, 5 Nov 2021 16:46:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0F86C9400D4; Fri, 5 Nov 2021 16:46:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0144.hostedemail.com [216.40.44.144]) by kanga.kvack.org (Postfix) with ESMTP id E9BCF9400C1 for ; Fri, 5 Nov 2021 16:46:05 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id B13F682499A8 for ; Fri, 5 Nov 2021 20:46:05 +0000 (UTC) X-FDA: 78776058732.01.9AD04A8 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf01.hostedemail.com (Postfix) with ESMTP id 9B1B2508FA63 for ; Fri, 5 Nov 2021 20:45:53 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D12861288; Fri, 5 Nov 2021 20:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1636145164; bh=1hDB9nfGh9/MCnfFpWEWPrr61S0fnTZleNIJlYsPn/E=; h=Date:From:To:Subject:In-Reply-To:From; b=wAF7Dtnb60hWUbTbWrxbDeXc6ruxcGj58CiJApHLh1g9F+h/KAj7hS/WZtNiwde3b WUgWA1A8+/UmZIQF/ptKaMO+6TfSo8bgDJvjsgGE7BEO6jAFRHlGOmGzNDY4RFwW5u v649Au/IV/xJKRYlWq68ZepqGyMyM34zrdGqD6GU= Date: Fri, 05 Nov 2021 13:46:04 -0700 From: Andrew Morton To: akpm@linux-foundation.org, corbet@lwn.net, linux-mm@kvack.org, mm-commits@vger.kernel.org, sjpark@amazon.de, torvalds@linux-foundation.org Subject: [patch 218/262] include/linux/damon.h: fix kernel-doc comments for 'damon_callback' Message-ID: <20211105204604.SNmwZ955x%akpm@linux-foundation.org> In-Reply-To: <20211105133408.cccbb98b71a77d5e8430aba1@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=wAF7Dtnb; dmarc=none; spf=pass (imf01.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 9B1B2508FA63 X-Stat-Signature: a4k791jfpfibbupo53zdmnerbajri1rh X-HE-Tag: 1636145153-421038 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 Subject: include/linux/damon.h: fix kernel-doc comments for 'damon_callback' A few Kernel-doc comments in 'damon.h' are broken. This commit fixes those. Link: https://lkml.kernel.org/r/20210917123958.3819-5-sj@kernel.org Signed-off-by: SeongJae Park Cc: Jonathan Corbet Signed-off-by: Andrew Morton --- include/linux/damon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/include/linux/damon.h~include-linux-damonh-fix-kernel-doc-comments-for-damon_callback +++ a/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.