[PATCH 1/1] memremap.h: correct an error in a comment
From: John Groves
Date: Mon Feb 05 2024 - 19:58:11 EST
It tried to send me off to memory_hotplug.h for an enum that is a few
lines above...
Signed-off-by: John Groves <john@xxxxxxxxxx>
---
include/linux/memremap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/memremap.h b/include/linux/memremap.h
index 1314d9c5f05b..c0ad57241a9c 100644
--- a/include/linux/memremap.h
+++ b/include/linux/memremap.h
@@ -108,7 +108,7 @@ struct dev_pagemap_ops {
* @altmap: pre-allocated/reserved memory for vmemmap allocations
* @ref: reference count that pins the devm_memremap_pages() mapping
* @done: completion for @ref
- * @type: memory type: see MEMORY_* in memory_hotplug.h
+ * @type: memory type: see MEMORY_* above in memremap.h
* @flags: PGMAP_* flags to specify defailed behavior
* @vmemmap_shift: structural definition of how the vmemmap page metadata
* is populated, specifically the metadata page order.
--
2.43.0