Skip to contentSkip to conversation

x86/iopl: Include prototype header for ksys_ioperm()

PATCH Applied Benjamin Thiel 2 participants 2 messages Jan 23, 2020 – Feb 17, 2020 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/iopl: Include prototype header for ksys_ioperm()

.. in order to fix a -Wmissing-prototype warning.

No functional change.

---
 arch/x86/kernel/ioport.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/ioport.c +1 -0
index 8abeee0dd7bf..a53e7b4a7419 100644
@@ -13,6 +13,7 @@
 
 #include <asm/io_bitmap.h>
 #include <asm/desc.h>
+#include <asm/syscalls.h>
 
 #ifdef CONFIG_X86_IOPL_IOPERM
 
Signature · 1 line
2.17.1
merge bot Applied
#1 lore raw
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:     cdcb58cc05ed9a7f74509a023762488c111cdfb3
Gitweb:        https://git.kernel.org/tip/cdcb58cc05ed9a7f74509a023762488c111cdfb3
Author:        Benjamin Thiel <[email protected]>
AuthorDate:    Thu, 23 Jan 2020 14:30:51 +01:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Mon, 17 Feb 2020 16:36:53 +01:00

x86/iopl: Include prototype header for ksys_ioperm()

.. in order to fix a -Wmissing-prototype warning.

No functional change.

---
 arch/x86/kernel/ioport.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/ioport.c +1 -0
index 8abeee0..a53e7b4 100644
@@ -13,6 +13,7 @@
 
 #include <asm/io_bitmap.h>
 #include <asm/desc.h>
+#include <asm/syscalls.h>
 
 #ifdef CONFIG_X86_IOPL_IOPERM