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


Groups > linux.kernel > #1605457

[tip:x86/process] um/arch_prctl: Fix fallout from x86 arch_prctl() rework

From tip-bot for Kyle Huey <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:x86/process] um/arch_prctl: Fix fallout from x86 arch_prctl() rework
Date 2017-03-21 10:20 +0100
Message-ID <tno7o-1hh-7@gated-at.bofh.it> (permalink)
References <tneB4-3ga-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  d582799fe5de1c1ca127d7f364db12a660cf46d4
Gitweb:     http://git.kernel.org/tip/d582799fe5de1c1ca127d7f364db12a660cf46d4
Author:     Kyle Huey <me@kylehuey.com>
AuthorDate: Mon, 20 Mar 2017 16:05:35 -0700
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 21 Mar 2017 10:08:29 +0100

um/arch_prctl: Fix fallout from x86 arch_prctl() rework

The recent arch_prctl rework added a bracket instead of a comma. Fix it.

Fixes: 17a6e1b8e8e8 ("x86/arch_prctl/64: Rename do_arch_prctl() to do_arch_prctl_64()")
Signed-off-by: Kyle Huey <khuey@kylehuey.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: kbuild-all@01.org
Link: http://lkml.kernel.org/r/20170320230535.11281-1-khuey@kylehuey.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 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 81b9fe1..58f5166 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;

Back to linux.kernel | Previous | NextPrevious 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