[PATCH] x86/process: Fix kerneldoc warning
From: Jiapeng Chong
Date: Thu Apr 14 2022 - 02:22:00 EST
Fix the following W=1 kernel warnings:
arch/x86/kernel/process.c:412: warning: expecting prototype for
tss_update_io_bitmap(). Prototype was for native_tss_update_io_bitmap()
instead.
Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
---
arch/x86/kernel/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index dbaf12c43fe1..c25c1a9f5673 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -406,7 +406,7 @@ static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm)
}
/**
- * tss_update_io_bitmap - Update I/O bitmap before exiting to usermode
+ * native_tss_update_io_bitmap - Update I/O bitmap before exiting to usermode
*/
void native_tss_update_io_bitmap(void)
{
--
2.20.1.7.g153144c