2024-02-06 00:58:08

by John Groves

[permalink] [raw]
Subject: [PATCH 1/1] memremap.h: correct an error in a comment

It tried to send me off to memory_hotplug.h for an enum that is a few
lines above...

Signed-off-by: John Groves <[email protected]>
---
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



2024-02-06 02:25:03

by Dan Williams

[permalink] [raw]
Subject: Re: [PATCH 1/1] memremap.h: correct an error in a comment

John Groves wrote:
> It tried to send me off to memory_hotplug.h for an enum that is a few
> lines above...

You have passed the first of many trials.

Reviewed-by: Dan Williams <[email protected]>