Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605191

[PATCH] um: fix build error due to typo

From Kyle Huey <me@kylehuey.com>
Newsgroups linux.kernel
Subject [PATCH] um: fix build error due to typo
Date 2017-03-21 00:10 +0100
Message-ID <tneB4-3ga-9@gated-at.bofh.it> (permalink)
References <tn9i2-7Yx-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Oops.

Signed-off-by: Kyle Huey <khuey@kylehuey.com>
---
 arch/x86/um/syscalls_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/um/syscalls_64.c b/arch/x86/um/syscalls_64.c
index 81b9fe100f7c..58f51667e2e4 100644
--- a/arch/x86/um/syscalls_64.c
+++ b/arch/x86/um/syscalls_64.c
@@ -12,7 +12,7 @@
 #include <asm/prctl.h> /* XXX This should get the constants from libc */
 #include <os.h>
 
-long arch_prctl(struct task_struct *task, int option)
+long arch_prctl(struct task_struct *task, int option,
 		unsigned long __user *arg2)
 {
 	unsigned long *ptr = arg2, tmp;
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[tip:x86/process 7/11] arch/x86/um/syscalls_64.c:15:6: error:  conflicting types for 'arch_prctl' kbuild test robot <fengguang.wu@intel.com> - 2017-03-20 18:30 +0100
  [PATCH] um: fix build error due to typo Kyle Huey <me@kylehuey.com> - 2017-03-21 00:10 +0100
    [tip:x86/process] um/arch_prctl: Fix fallout from x86 arch_prctl()  rework tip-bot for Kyle Huey <tipbot@zytor.com> - 2017-03-21 10:20 +0100

csiph-web