Skip to contentSkip to conversation

KVM: arm64: pkvm: Drop keneldoc markers for the allocator structs

PATCH Applied Vincent Donnefort 2 participants 3 messages Oct 5

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

PATCH 1/1 KVM: arm64: pkvm: Drop keneldoc markers for the allocator structs

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.

arch/arm64/kvm/hyp/nvhe/alloc.c +3 -2
index c1881c0011c9..e1e6dd21cda1 100644
@@ -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

Signature · 1 line
2.56.0.rc1.315.gc6ed9934b7-goog
#1 lore raw
Quoted 6 lines · Vincent Donnefort

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.

I forgot the relevant tags

Quoted 35 lines
arch/arm64/kvm/hyp/nvhe/alloc.c +3 -2
index c1881c0011c9..e1e6dd21cda1 100644
@@ -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

Signature · 1 line
2.56.0.rc1.315.gc6ed9934b7-goog
Signature · 1 line
Vincent
maintainer Applied
#2 lore raw
In reply to Vincent Donnefort
Quoted 4 lines · Vincent Donnefort

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.

Applied to next, thanks!

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

      commit: 6b1abd43b27a5ecac0672482dc8ca1e48c2c8d15

Cheers,

	M.
Signature · 1 line
Without deviation from the norm, progress is not possible.