pstore: Fix kernel-doc warning
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 18 Aug 2023 20:12:53 +0000 (21:12 +0100)
committerKees Cook <keescook@chromium.org>
Fri, 18 Aug 2023 20:27:28 +0000 (13:27 -0700)
Fix the warning for the description of struct persistent_ram_buffer and
improve the descriptions of the other struct members while I'm here.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20230818201253.2729485-1-willy@infradead.org
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/ram_core.c

index 0eb780b9028170cb02912f391aaafe49663f6acb..650e437b55e6b6499eb8e578a8c0ab541780f449 100644 (file)
 /**
  * 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;