[PATCH] KVM: arm64: pkvm: Drop keneldoc markers for the allocator structs

Vincent Donnefort vdonnefort at google.com
Mon Oct 5 00:20:46 PDT 2026


chunk_hdr and hyp_allocator are private. Their description is not
exposed to the API documentation. Drop the kerneldoc markers.

While at it add the missing description for chunk_hdr::data.

Signed-off-by: Vincent Donnefort <vdonnefort at google.com>

diff --git a/arch/arm64/kvm/hyp/nvhe/alloc.c b/arch/arm64/kvm/hyp/nvhe/alloc.c
index c1881c0011c9..e1e6dd21cda1 100644
--- a/arch/arm64/kvm/hyp/nvhe/alloc.c
+++ b/arch/arm64/kvm/hyp/nvhe/alloc.c
@@ -28,13 +28,14 @@
  */
 #define MIN_ALLOC_SIZE 16UL
 
-/**
+/*
  * struct chunk_hdr - Chunk header
  * @next:       offset from this chunk header to the next one.
  * @prev:       offset from this chunk header to the previous one.
  * @__unmapped: Internal field containing the offset to the unmapped page
  *              boundary, multiplexed with the allocation state flag.
  * @hash:       Hash computed over the chunk header.
+ * @data:       Chunk payload.
  */
 struct chunk_hdr {
 	u32			next;
@@ -45,7 +46,7 @@ struct chunk_hdr {
 	char			data[];
 } __aligned(MIN_ALLOC_SIZE);
 
-/**
+/*
  * struct hyp_allocator - Heap allocator
  * @start:		Start in the allocator's reserved virtual address range.
  * @end:		End in the allocator's reserved virtual address range.

base-commit: f0406245cb9855e6318335a8a223551354291a46
-- 
2.56.0.rc1.315.gc6ed9934b7-goog




More information about the linux-arm-kernel mailing list