summaryrefslogtreecommitdiffstats
path: root/kernel/dma
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2024-01-13 20:46:42 -0800
committerChristoph Hellwig <hch@lst.de>2024-01-15 08:20:39 +0100
commit7c65aa3cc072cee76f577262fbe381a111a98774 (patch)
tree1e8a52fdbe93fa255309494a7fbaa231c0f2b8c1 /kernel/dma
parent3dc2f209208dddc73ffd1d817081711343de3242 (diff)
downloadlinux-7c65aa3cc072cee76f577262fbe381a111a98774.tar.gz
linux-7c65aa3cc072cee76f577262fbe381a111a98774.tar.bz2
linux-7c65aa3cc072cee76f577262fbe381a111a98774.zip
dma-debug: fix kernel-doc warnings
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>
Diffstat (limited to 'kernel/dma')
-rw-r--r--kernel/dma/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/dma/debug.c b/kernel/dma/debug.c
index 3de494375b7b..08b7f84b76f9 100644
--- a/kernel/dma/debug.c
+++ b/kernel/dma/debug.c
@@ -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;