Skip to contentSkip to conversation

mm/execmem: fix fallback_end description in kernel-doc

PATCH Applied Henry Elderman 2 participants 2 messages Aug 7 – Aug 9

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/execmem: fix fallback_end description in kernel-doc

The kernel-doc for struct execmem_range incorrectly describes @fallback_end as "start". Correct it to "end".

---
 include/linux/execmem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/execmem.h +1 -1
index 7de229134..1bd34925d 100644
@@ -89,7 +89,7 @@ static inline int execmem_restore_rox(void *ptr, size_t size) { return 0; }
  * @end:	address space end (inclusive)
  * @fallback_start: start of the secondary address space range for fallback
  *                  allocations on architectures that require it
- * @fallback_end:   start of the secondary address space (inclusive)
+ * @fallback_end:   end of the secondary address space (inclusive)
  * @pgprot:	permissions for memory in this address space
  * @alignment:	alignment required for text allocations
  * @flags:	options for memory allocations for this range
Signature · 1 line
2.51.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Henry Elderman

The kernel-doc for struct execmem_range incorrectly describes @fallback_end as "start". Correct it to "end".

Quoted 20 lines
---
 include/linux/execmem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/execmem.h +1 -1
index 7de229134..1bd34925d 100644
@@ -89,7 +89,7 @@ static inline int execmem_restore_rox(void *ptr, size_t size) { return 0; }
  * @end:	address space end (inclusive)
  * @fallback_start: start of the secondary address space range for fallback
  *                  allocations on architectures that require it
- * @fallback_end:   start of the secondary address space (inclusive)
+ * @fallback_end:   end of the secondary address space (inclusive)
  * @pgprot:	permissions for memory in this address space
  * @alignment:	alignment required for text allocations
  * @flags:	options for memory allocations for this range
Signature · 1 line
2.51.0
Signature · 2 lines
Sincerely yours,
Mike.