Skip to contentSkip to conversation

x86/platform/quark: fix all kernel-doc warnings in imr.c

PATCH Superseded Randy Dunlap 1 participant 1 message Feb 28 x86

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x86/platform/quark: fix all kernel-doc warnings in imr.c

Use correct parameter names in kernel-doc comments to avoid warnings:

imr.c:300: warning: Function parameter or struct member 'rmask' not
described in 'imr_add_range'
imr.c:300: warning: Function parameter or struct member 'wmask' not
described in 'imr_add_range'
imr.c:300: warning: Excess function parameter 'read_mask' description
in 'imr_add_range'
imr.c:300: warning: Excess function parameter 'write_mask' description
in 'imr_add_range'

Fixes 28a375df16c2 ("x86/intel/quark: Add Isolated Memory Regions for Quark X1000")

---
v2: modify patch description and rebase

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Dave Hansen <[email protected]>
 arch/x86/platform/intel-quark/imr.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/platform/intel-quark/imr.c +2 -2
@@ -291,8 +291,8 @@ static inline int imr_address_overlap(ph
  *
  * @base:	physical base address of region aligned to 1KiB.
  * @size:	physical size of region in bytes must be aligned to 1KiB.
- * @read_mask:	read access mask.
- * @write_mask:	write access mask.
+ * @rmask:	read access mask.
+ * @wmask:	write access mask.
  * @return:	zero on success or negative value indicating error.
  */
 int imr_add_range(phys_addr_t base, size_t size,