From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD1A37E for ; Sat, 7 May 2022 15:52:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C91CDC385A6; Sat, 7 May 2022 15:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651938746; bh=2SWYDipD6SESlBoUy8Z+tftQJmKG5uu41ZRc1VgASEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fHsksQv5r2lJ5k6ESJwvLIO22YzQe9zfKdNo+5iPKDSjyokVTGA6Jg3uhZou7Lqdh zKdroGbEFcRWQzC4khiNg1GRBpQKAtCAzOukP7pmgLO3qwrkbpNyB5nI/AHo1V12W3 2OvUnfHwZoyyJkEeprgJPbU7KoY+VNbXGkBw8mxFrefziwc5mOPlzTq2Azbg7xcT/c wWYva+KXRAr1mLeJcg7yA7bX1HPEja2ukkt1VybsgMoAxsACvfMfUjNDYOeoLVG18E +KwJT9RG1ixaawWYnzEAim7rkbuyjzoY9JU4dAgsIk5tzXS/4qzgWdvQD0ZFh83tkc rK4oHEWxHvOkg== From: SeongJae Park To: Gautam Menghani Cc: sj@kernel.org, skhan@linuxfoundation.org, Gautam Menghani , linux-mm@kvack.org, linux-kernel@vger.kernel.org, damon@lists.linux.dev Subject: Re: [PATCH] Add documentation for Enum value 'NR_DAMON_OPS' in enum 'damon_ops_id' Date: Sat, 7 May 2022 15:52:18 +0000 Message-Id: <20220507155218.45706-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220507070850.14150-1-gautammenghani201@gmail.com> References: Precedence: bulk X-Mailing-List: damon@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Gautam, Thank you for the patch. 'checkpatch.pl' complains as below, though: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #12: Fix the warning - "Enum value 'NR_DAMON_OPS' not described in enum 'damon_ops_id'" generated by the command "make pdfdocs" WARNING: From:/Signed-off-by: email address mismatch: 'From: Gautam Menghani ' != 'Signed-off-by: Gautam Menghani ' total: 0 errors, 2 warnings, 7 lines checked Could you please fix those? On Sat, 7 May 2022 12:38:50 +0530 Gautam Menghani wrote: > From: Gautam Menghani > > Fix the warning - "Enum value 'NR_DAMON_OPS' not described in enum 'damon_ops_id'" generated by the command "make pdfdocs" > > Signed-off-by: Gautam Menghani > --- > include/linux/damon.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/damon.h b/include/linux/damon.h > index f23cbfa4248d..b972a7a3b6f0 100644 > --- a/include/linux/damon.h > +++ b/include/linux/damon.h > @@ -262,6 +262,7 @@ struct damos { > * > * @DAMON_OPS_VADDR: Monitoring operations for virtual address spaces > * @DAMON_OPS_PADDR: Monitoring operations for the physical address space > + * @NR_DAMON_OPS: Number of monitoring operations for a particular implementation I'd like to keep the 80 column limit[1]. [1] https://docs.kernel.org/process/coding-style.html#breaking-long-lines-and-strings Also, strictly speaking, it's not the number of monitoring operations for _a particular implementation_, but 'number of monitoring operations implementations'. And it's shorter. How about the suggestion? Thanks, SJ > */ > enum damon_ops_id { > DAMON_OPS_VADDR, > -- > 2.25.1