Skip to contentSkip to conversation

x86/process: Fix kerneldoc warning

PATCH Applied Jiapeng Chong 2 participants 2 messages Apr 14, 2022 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/process: Fix kerneldoc warning

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.

---
 arch/x86/kernel/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/process.c +1 -1
index dbaf12c43fe1..c25c1a9f5673 100644
@@ -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)
 {
Signature · 1 line
2.20.1.7.g153144c
merge bot Applied
#1 lore raw

[tip: x86/cleanups] x86/process: Fix kernel-doc warning due to a changed function name

The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     dbb5ab6d2c0a7397d77c9f60fe23844d4fe4e634
Gitweb:        https://git.kernel.org/tip/dbb5ab6d2c0a7397d77c9f60fe23844d4fe4e634
Author:        Jiapeng Chong <[email protected]>
AuthorDate:    Thu, 14 Apr 2022 14:21:10 +08:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Thu, 14 Apr 2022 12:23:06 +02:00

x86/process: Fix kernel-doc warning due to a changed function name

Fix the following scripts/kernel-doc warning:

arch/x86/kernel/process.c:412: warning: expecting prototype for tss_update_io_bitmap(). Prototype was for native_tss_update_io_bitmap() instead.

[ bp: Massage. ]

---
 arch/x86/kernel/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/process.c +1 -1
index b370767..b3d2d41 100644
@@ -405,7 +405,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 user mode
  */
 void native_tss_update_io_bitmap(void)
 {