]> git.itanic.dy.fi Git - linux-stable/commitdiff
dma-debug: fix kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 14 Jan 2024 04:46:42 +0000 (20:46 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2024 07:20:39 +0000 (08:20 +0100)
Update the kernel-doc comments to catch up with the code changes and
fix the kernel-doc warnings:

debug.c:83: warning: Excess struct member 'stacktrace' description in 'dma_debug_entry'
debug.c:83: warning: Function parameter or struct member 'stack_len' not described in 'dma_debug_entry'
debug.c:83: warning: Function parameter or struct member 'stack_entries' not described in 'dma_debug_entry'

Fixes: 746017ed8d4d ("dma/debug: Simplify stracktrace retrieval")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: iommu@lists.linux.dev
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/debug.c

index 3de494375b7b3cbe172ce00464ef9982bf1fa748..08b7f84b76f9e0627f9bfd64858d8cc55ba2c459 100644 (file)
@@ -62,7 +62,8 @@ enum map_err_types {
  * @pfn: page frame of the start address
  * @offset: offset of mapping relative to pfn
  * @map_err_type: track whether dma_mapping_error() was checked
- * @stacktrace: support backtraces when a violation is detected
+ * @stack_len: number of backtrace entries in @stack_entries
+ * @stack_entries: stack of backtrace history
  */
 struct dma_debug_entry {
        struct list_head list;