Skip to contentSkip to conversation

Correct a comment in include/linux/memremap.h

PATCH Applied John Groves 2 participants 3 messages Feb 6, 2024 Memory hot(un)plug

lore
Share & tools
lore
#0 lore raw

cover Correct a comment in include/linux/memremap.h

Correcting an error I ran across while working on the devdax iomap support (and famfs - both of which are coming soon :D)

get_maintainer.pl was not very helpful (just [email protected]), So I'm copying likely interested parties (most of whom are in the vicinity via 'git blame').

John Groves (1):
memremap.h: correct an error in a comment

 include/linux/memremap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.43.0
#1 lore raw

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...

---
 include/linux/memremap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/memremap.h +1 -1
index 1314d9c5f05b..c0ad57241a9c 100644
@@ -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.
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#2 lore raw

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

Quoted 2 lines · John Groves

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.