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

From: Randy Dunlap

Date: Sat Feb 28 2026 - 15:13:29 EST


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 <rdunlap@xxxxxxxxxxxxx>
---
v2: modify patch description and rebase

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: x86@xxxxxxxxxx

arch/x86/platform/intel-quark/imr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20260227.orig/arch/x86/platform/intel-quark/imr.c
+++ linux-next-20260227/arch/x86/platform/intel-quark/imr.c
@@ -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,