[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrU1OxccGE9e-AY706e=ZAqggR1KeVtdY6npFwyx6SYhVA@mail.gmail.com>
Date: Wed, 2 Mar 2016 11:03:44 -0800
From: Andy Lutomirski <luto@...capital.net>
To: Borislav Petkov <bp@...en8.de>
Cc: Andrew Cooper <andrew.cooper3@...rix.com>,
Oleg Nesterov <oleg@...hat.com>,
Brian Gerst <brgerst@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>,
X86 ML <x86@...nel.org>
Subject: Re: [PATCH 01/10] selftests/x86: In syscall_nt, test NT|TF as well
On Mar 2, 2016 6:29 AM, "Borislav Petkov" <bp@...en8.de> wrote:
>
> On Wed, Mar 02, 2016 at 02:01:15PM +0000, One Thousand Gnomes wrote:
> > int main(void) is wrong as there are passed arguments
>
> Not in this particular case - test doesn't take args.
IIRC the C standard says otherwise. main is special.
Arguably checkpatch should learn about that -- it doesn't matter for
*kernel* code, but this is a user program. (Also, it's shamelessly
written in C99. I figure 15 years is long enough...)
Powered by blists - more mailing lists