Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752136AbcKRHaV (ORCPT ); Fri, 18 Nov 2016 02:30:21 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36515 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbcKRHaR (ORCPT ); Fri, 18 Nov 2016 02:30:17 -0500 Date: Fri, 18 Nov 2016 08:30:12 +0100 From: Ingo Molnar To: Kyle Huey Cc: "Robert O'Callahan" , Thomas Gleixner , Andy Lutomirski , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Jeff Dike , Richard Weinberger , Alexander Viro , Shuah Khan , Dave Hansen , Borislav Petkov , Peter Zijlstra , Boris Ostrovsky , Len Brown , "Rafael J. Wysocki" , Dmitry Safonov , David Matlack , Nadav Amit , linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v12 4/7] x86/syscalls/32: Wire up arch_prctl on x86-32 Message-ID: <20161118073012.GB15912@gmail.com> References: <20161117020610.5302-1-khuey@kylehuey.com> <20161117020610.5302-5-khuey@kylehuey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161117020610.5302-5-khuey@kylehuey.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 23 * Kyle Huey wrote: > --- a/include/linux/compat.h > +++ b/include/linux/compat.h > @@ -716,16 +716,18 @@ int __compat_save_altstack(compat_stack_t __user *, unsigned long); > } while (0); > > asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, > struct compat_timespec __user *interval); > > asmlinkage long compat_sys_fanotify_mark(int, unsigned int, __u32, __u32, > int, const char __user *); > > +asmlinkage long compat_sys_arch_prctl(int, unsigned long); Please always use prototypes with proper argument names spelled out, i.e.: +asmlinkage long compat_sys_arch_prctl(int option, unsigned long arg2); Thanks, Ingo