Skip to contentSkip to conversation

pstore: Fix kernel-doc warning

PATCH Applied Matthew Wilcox (Oracle) 2 participants 2 messages Aug 18, 2023 Pstore filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pstore: Fix kernel-doc warning

Fix the warning for the description of struct persistent_ram_buffer and improve the descriptions of the other struct members while I'm here.

---
 fs/pstore/ram_core.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
fs/pstore/ram_core.c +4 -6
index eb6df190d752..4fbad03e7c33 100644
@@ -24,12 +24,10 @@
 /**
  * struct persistent_ram_buffer - persistent circular RAM buffer
  *
- * @sig:
- *	signature to indicate header (PERSISTENT_RAM_SIG xor PRZ-type value)
- * @start:
- *	offset into @data where the beginning of the stored bytes begin
- * @size:
- *	number of valid bytes stored in @data
+ * @sig: Signature to indicate header (PERSISTENT_RAM_SIG xor PRZ-type value)
+ * @start: First valid byte in the buffer.
+ * @size: Number of valid bytes in the buffer.
+ * @data: The contents of the buffer.
  */
 struct persistent_ram_buffer {
 	uint32_t    sig;
Signature · 1 line
2.40.1
Applied
#1 lore raw
Quoted 4 lines · Matthew Wilcox (Oracle)

Fix the warning for the description of struct persistent_ram_buffer and improve the descriptions of the other struct members while I'm here.

Applied to for-next/pstore, thanks!

[1/1] pstore: Fix kernel-doc warning

      https://git.kernel.org/kees/c/af58740d8b06

Take care,

Signature · 1 line
Kees Cook