Skip to content

Commit 7c65aa3

Browse files
rddunlapChristoph Hellwig
authored andcommitted
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: 746017e ("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>
1 parent 3dc2f20 commit 7c65aa3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kernel/dma/debug.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ enum map_err_types {
6262
* @pfn: page frame of the start address
6363
* @offset: offset of mapping relative to pfn
6464
* @map_err_type: track whether dma_mapping_error() was checked
65-
* @stacktrace: support backtraces when a violation is detected
65+
* @stack_len: number of backtrace entries in @stack_entries
66+
* @stack_entries: stack of backtrace history
6667
*/
6768
struct dma_debug_entry {
6869
struct list_head list;

0 commit comments

Comments
 (0)