[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220508073316.141401-1-gautammenghani201@gmail.com>
Date: Sun, 8 May 2022 13:03:16 +0530
From: Gautam Menghani <gautammenghani201@...il.com>
To: sj@...nel.org, skhan@...uxfoundation.org
Cc: Gautam Menghani <gautammenghani201@...il.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] mm/damon : Add documentation for Enum value
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 <gautammenghani201@...il.com>
---
Changes in v3:
- Add the subsystem in subject.
- Modify the description for NR_DAMON_OPS field.
Changes in v2:
- Fix checkpatch warning of 75 characters per line
- Fix email mismatch in from and signed by field
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 implementations
*/
enum damon_ops_id {
DAMON_OPS_VADDR,
--
2.25.1
Powered by blists - more mailing lists