x86/platform/quark: fix all kernel-doc warnings in imr.c
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")
Signed-off-by Randy Dunlap <[email protected]>
---
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,