History

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'

Randy Dunlap committed 2 years ago

Commit 7c65aa31 parent 3dc2f201 file · +2 −1Browse files

Unified · Split

kernel/dma/debug.c+2−1
@@ -62,7 +62,8 @@ enum map_err_types { · 61 unmodified lines
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;