Skip to content

Commit 9efc31b

Browse files
Wanpeng LiIngo Molnar
Wanpeng Li
authored and
Ingo Molnar
committed
x86/mm: Fix some kernel-doc warnings
Fix kernel-doc warnings in arch/x86/mm/ioremap.c and arch/x86/mm/pageattr.c, just like this one: Warning(arch/x86/mm/ioremap.c:204): No description found for parameter 'phys_addr' Warning(arch/x86/mm/ioremap.c:204): Excess function parameter 'offset' description in 'ioremap_nocache' Signed-off-by: Wanpeng Li <[email protected]> Cc: Gavin Shan <[email protected]> Cc: Wanpeng Li <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 9271b0b commit 9efc31b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/x86/mm/ioremap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr,
180180

181181
/**
182182
* ioremap_nocache - map bus memory into CPU space
183-
* @offset: bus address of the memory
183+
* @phys_addr: bus address of the memory
184184
* @size: size of the resource to map
185185
*
186186
* ioremap_nocache performs a platform specific sequence of operations to
@@ -217,7 +217,7 @@ EXPORT_SYMBOL(ioremap_nocache);
217217

218218
/**
219219
* ioremap_wc - map memory into CPU space write combined
220-
* @offset: bus address of the memory
220+
* @phys_addr: bus address of the memory
221221
* @size: size of the resource to map
222222
*
223223
* This version of ioremap ensures that the memory is marked write combining.

arch/x86/mm/pageattr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ within(unsigned long addr, unsigned long start, unsigned long end)
122122

123123
/**
124124
* clflush_cache_range - flush a cache range with clflush
125-
* @addr: virtual start address
125+
* @vaddr: virtual start address
126126
* @size: number of bytes to flush
127127
*
128128
* clflush is an unordered instruction which needs fencing with mfence

0 commit comments

Comments
 (0)